home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 January / Macworld (2000-01).dmg / 1999 Games Hall of Fame / Unreal Tournament Demo.sea / Unreal Tournament Demo / System / BotPack.u / Bot_DeathMatchPlus_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-10-20  |  40.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 4f 84 05 2f 2f 3d 3d 3d |........|O..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 44 |========|==..// D|
|00000060| 65 61 74 68 4d 61 74 63 | 68 50 6c 75 73 2e 0d 0a |eathMatc|hPlus...|
|00000070| 2f 2f 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |//======|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 0d |========|=======.|
|000000c0| 0a 63 6c 61 73 73 20 44 | 65 61 74 68 4d 61 74 63 |.class D|eathMatc|
|000000d0| 68 50 6c 75 73 20 65 78 | 74 65 6e 64 73 20 54 6f |hPlus ex|tends To|
|000000e0| 75 72 6e 61 6d 65 6e 74 | 47 61 6d 65 49 6e 66 6f |urnament|GameInfo|
|000000f0| 0d 0a 09 63 6f 6e 66 69 | 67 3b 0d 0a 0d 0a 2f 2f |...confi|g;....//|
|00000100| 20 53 6f 75 6e 64 73 0d | 0a 23 65 78 65 63 20 4f | Sounds.|.#exec O|
|00000110| 42 4a 20 4c 4f 41 44 20 | 46 49 4c 45 3d 2e 2e 5c |BJ LOAD |FILE=..\|
|00000120| 53 6f 75 6e 64 73 5c 41 | 6e 6e 6f 75 6e 63 65 72 |Sounds\A|nnouncer|
|00000130| 2e 75 61 78 0d 0a 0d 0a | 76 61 72 28 29 20 67 6c |.uax....|var() gl|
|00000140| 6f 62 61 6c 63 6f 6e 66 | 69 67 20 69 6e 74 20 20 |obalconf|ig int |
|00000150| 4d 69 6e 50 6c 61 79 65 | 72 73 3b 09 09 2f 2f 20 |MinPlaye|rs;..// |
|00000160| 62 6f 74 73 20 66 69 6c | 6c 20 69 6e 20 74 6f 20 |bots fil|l in to |
|00000170| 67 75 61 72 61 6e 74 65 | 65 20 74 68 69 73 20 6c |guarante|e this l|
|00000180| 65 76 65 6c 20 69 6e 20 | 6e 65 74 20 67 61 6d 65 |evel in |net game|
|00000190| 20 0d 0a 76 61 72 28 29 | 20 67 6c 6f 62 61 6c 63 | ..var()| globalc|
|000001a0| 6f 6e 66 69 67 20 66 6c | 6f 61 74 20 41 69 72 43 |onfig fl|oat AirC|
|000001b0| 6f 6e 74 72 6f 6c 3b 20 | 0d 0a 76 61 72 28 29 20 |ontrol; |..var() |
|000001c0| 63 6f 6e 66 69 67 20 69 | 6e 74 09 46 72 61 67 4c |config i|nt.FragL|
|000001d0| 69 6d 69 74 3b 20 0d 0a | 76 61 72 28 29 20 63 6f |imit; ..|var() co|
|000001e0| 6e 66 69 67 20 69 6e 74 | 09 54 69 6d 65 4c 69 6d |nfig int|.TimeLim|
|000001f0| 69 74 3b 20 2f 2f 20 74 | 69 6d 65 20 6c 69 6d 69 |it; // t|ime limi|
|00000200| 74 20 69 6e 20 6d 69 6e | 75 74 65 73 0d 0a 76 61 |t in min|utes..va|
|00000210| 72 28 29 20 67 6c 6f 62 | 61 6c 63 6f 6e 66 69 67 |r() glob|alconfig|
|00000220| 20 62 6f 6f 6c 20 62 43 | 68 61 6e 67 65 4c 65 76 | bool bC|hangeLev|
|00000230| 65 6c 73 3b 0d 0a 76 61 | 72 28 29 20 67 6c 6f 62 |els;..va|r() glob|
|00000240| 61 6c 63 6f 6e 66 69 67 | 20 62 6f 6f 6c 20 62 48 |alconfig| bool bH|
|00000250| 61 72 64 43 6f 72 65 4d | 6f 64 65 3b 0d 0a 76 61 |ardCoreM|ode;..va|
|00000260| 72 20 20 20 62 6f 6f 6c | 09 09 09 20 20 20 20 62 |r bool|... b|
|00000270| 43 68 61 6c 6c 65 6e 67 | 65 4d 6f 64 65 3b 0d 0a |Challeng|eMode;..|
|00000280| 76 61 72 28 29 20 67 6c | 6f 62 61 6c 63 6f 6e 66 |var() gl|obalconf|
|00000290| 69 67 20 62 6f 6f 6c 20 | 62 4d 65 67 61 53 70 65 |ig bool |bMegaSpe|
|000002a0| 65 64 3b 0d 0a 76 61 72 | 28 29 20 67 6c 6f 62 61 |ed;..var|() globa|
|000002b0| 6c 63 6f 6e 66 69 67 20 | 62 6f 6f 6c 09 62 41 6c |lconfig |bool.bAl|
|000002c0| 74 53 63 6f 72 69 6e 67 | 3b 0d 0a 76 61 72 28 29 |tScoring|;..var()|
|000002d0| 20 63 6f 6e 66 69 67 20 | 62 6f 6f 6c 09 62 4d 75 | config |bool.bMu|
|000002e0| 6c 74 69 57 65 61 70 6f | 6e 53 74 61 79 3b 0d 0a |ltiWeapo|nStay;..|
|000002f0| 76 61 72 28 29 20 63 6f | 6e 66 69 67 20 62 6f 6f |var() co|nfig boo|
|00000300| 6c 09 62 46 6f 72 63 65 | 52 65 73 70 61 77 6e 3b |l.bForce|Respawn;|
|00000310| 0d 0a 76 61 72 09 09 62 | 6f 6f 6c 09 62 44 6f 6e |..var..b|ool.bDon|
|00000320| 74 52 65 73 74 61 72 74 | 3b 0d 0a 76 61 72 09 09 |tRestart|;..var..|
|00000330| 62 6f 6f 6c 09 62 41 6c | 72 65 61 64 79 43 68 61 |bool.bAl|readyCha|
|00000340| 6e 67 65 64 3b 0d 0a 76 | 61 72 09 09 62 6f 6f 6c |nged;..v|ar..bool|
|00000350| 09 62 46 69 72 73 74 42 | 6c 6f 6f 64 3b 0d 0a 0d |.bFirstB|lood;...|
|00000360| 0a 76 61 72 28 29 20 67 | 6c 6f 62 61 6c 63 6f 6e |.var() g|lobalcon|
|00000370| 66 69 67 20 62 6f 6f 6c | 20 62 54 6f 75 72 6e 61 |fig bool| bTourna|
|00000380| 6d 65 6e 74 3b 0d 0a 76 | 61 72 20 20 62 6f 6f 6c |ment;..v|ar bool|
|00000390| 20 62 52 65 71 75 69 72 | 65 52 65 61 64 79 3b 0d | bRequir|eReady;.|
|000003a0| 0a 76 61 72 28 29 20 62 | 6f 6f 6c 20 62 4e 6f 76 |.var() b|ool bNov|
|000003b0| 69 63 65 4d 6f 64 65 3b | 0d 0a 76 61 72 28 29 20 |iceMode;|..var() |
|000003c0| 67 6c 6f 62 61 6c 63 6f | 6e 66 69 67 20 62 6f 6f |globalco|nfig boo|
|000003d0| 6c 20 62 4e 6f 4d 61 74 | 75 72 65 4c 61 6e 67 75 |l bNoMat|ureLangu|
|000003e0| 61 67 65 3b 0d 0a 76 61 | 72 28 29 20 67 6c 6f 62 |age;..va|r() glob|
|000003f0| 61 6c 63 6f 6e 66 69 67 | 20 69 6e 74 20 4e 65 74 |alconfig| int Net|
|00000400| 57 61 69 74 3b 20 2f 2f | 20 74 69 6d 65 20 74 6f |Wait; //| time to|
|00000410| 20 77 61 69 74 20 66 6f | 72 20 70 6c 61 79 65 72 | wait fo|r player|
|00000420| 73 20 69 6e 20 6e 65 74 | 67 61 6d 65 73 20 77 2f |s in net|games w/|
|00000430| 20 62 4e 65 74 52 65 61 | 64 79 20 28 74 79 70 69 | bNetRea|dy (typi|
|00000440| 63 61 6c 6c 79 20 74 65 | 61 6d 20 67 61 6d 65 73 |cally te|am games|
|00000450| 29 0d 0a 76 61 72 28 29 | 20 67 6c 6f 62 61 6c 63 |)..var()| globalc|
|00000460| 6f 6e 66 69 67 20 69 6e | 74 20 52 65 73 74 61 72 |onfig in|t Restar|
|00000470| 74 57 61 69 74 3b 0d 0a | 76 61 72 20 63 6f 6e 66 |tWait;..|var conf|
|00000480| 69 67 20 62 6f 6f 6c 20 | 62 55 73 65 54 72 61 6e |ig bool |bUseTran|
|00000490| 73 6c 6f 63 61 74 6f 72 | 3b 0d 0a 76 61 72 20 62 |slocator|;..var b|
|000004a0| 6f 6f 6c 20 62 4a 75 6d | 70 4d 61 74 63 68 3b 0d |ool bJum|pMatch;.|
|000004b0| 0a 76 61 72 20 62 6f 6f | 6c 20 62 54 68 72 65 65 |.var boo|l bThree|
|000004c0| 50 6c 75 73 3b 0d 0a 76 | 61 72 20 62 6f 6f 6c 20 |Plus;..v|ar bool |
|000004d0| 62 46 75 6c 66 69 6c 6c | 65 64 53 70 65 63 69 61 |bFulfill|edSpecia|
|000004e0| 6c 3b 0d 0a 76 61 72 20 | 62 6f 6f 6c 09 62 4e 65 |l;..var |bool.bNe|
|000004f0| 74 52 65 61 64 79 3b 0d | 0a 76 61 72 20 62 6f 6f |tReady;.|.var boo|
|00000500| 6c 20 62 52 61 74 65 64 | 54 72 61 6e 73 6c 6f 63 |l bRated|Transloc|
|00000510| 61 74 6f 72 3b 0d 0a 76 | 61 72 20 62 6f 6f 6c 20 |ator;..v|ar bool |
|00000520| 62 53 74 61 72 74 4d 61 | 74 63 68 3b 0d 0a 0d 0a |bStartMa|tch;....|
|00000530| 76 61 72 09 69 6e 74 20 | 52 65 6d 61 69 6e 69 6e |var.int |Remainin|
|00000540| 67 54 69 6d 65 2c 20 45 | 6c 61 70 73 65 64 54 69 |gTime, E|lapsedTi|
|00000550| 6d 65 3b 0d 0a 76 61 72 | 20 69 6e 74 20 43 6f 75 |me;..var| int Cou|
|00000560| 6e 74 44 6f 77 6e 2c 20 | 53 74 61 72 74 43 6f 75 |ntDown, |StartCou|
|00000570| 6e 74 3b 0d 0a 76 61 72 | 20 6c 6f 63 61 6c 69 7a |nt;..var| localiz|
|00000580| 65 64 20 73 74 72 69 6e | 67 20 53 74 61 72 74 55 |ed strin|g StartU|
|00000590| 70 4d 65 73 73 61 67 65 | 3b 0d 0a 76 61 72 20 6c |pMessage|;..var l|
|000005a0| 6f 63 61 6c 69 7a 65 64 | 20 73 74 72 69 6e 67 20 |ocalized| string |
|000005b0| 54 6f 75 72 6e 65 79 4d | 65 73 73 61 67 65 3b 0d |TourneyM|essage;.|
|000005c0| 0a 76 61 72 20 6c 6f 63 | 61 6c 69 7a 65 64 20 73 |.var loc|alized s|
|000005d0| 74 72 69 6e 67 20 57 61 | 69 74 69 6e 67 4d 65 73 |tring Wa|itingMes|
|000005e0| 73 61 67 65 31 3b 0d 0a | 76 61 72 20 6c 6f 63 61 |sage1;..|var loca|
|000005f0| 6c 69 7a 65 64 20 73 74 | 72 69 6e 67 20 57 61 69 |lized st|ring Wai|
|00000600| 74 69 6e 67 4d 65 73 73 | 61 67 65 32 3b 0d 0a 76 |tingMess|age2;..v|
|00000610| 61 72 20 6c 6f 63 61 6c | 69 7a 65 64 20 73 74 72 |ar local|ized str|
|00000620| 69 6e 67 20 52 65 61 64 | 79 4d 65 73 73 61 67 65 |ing Read|yMessage|
|00000630| 3b 0d 0a 76 61 72 20 6c | 6f 63 61 6c 69 7a 65 64 |;..var l|ocalized|
|00000640| 20 73 74 72 69 6e 67 20 | 4e 6f 74 52 65 61 64 79 | string |NotReady|
|00000650| 4d 65 73 73 61 67 65 3b | 0d 0a 76 61 72 20 6c 6f |Message;|..var lo|
|00000660| 63 61 6c 69 7a 65 64 20 | 73 74 72 69 6e 67 20 43 |calized |string C|
|00000670| 6f 75 6e 74 44 6f 77 6e | 4d 65 73 73 61 67 65 3b |ountDown|Message;|
|00000680| 0d 0a 76 61 72 20 6c 6f | 63 61 6c 69 7a 65 64 20 |..var lo|calized |
|00000690| 73 74 72 69 6e 67 20 53 | 74 61 72 74 4d 65 73 73 |string S|tartMess|
|000006a0| 61 67 65 3b 0d 0a 76 61 | 72 20 6c 6f 63 61 6c 69 |age;..va|r locali|
|000006b0| 7a 65 64 20 73 74 72 69 | 6e 67 20 47 61 6d 65 45 |zed stri|ng GameE|
|000006c0| 6e 64 65 64 4d 65 73 73 | 61 67 65 3b 0d 0a 76 61 |ndedMess|age;..va|
|000006d0| 72 20 6c 6f 63 61 6c 69 | 7a 65 64 20 73 74 72 69 |r locali|zed stri|
|000006e0| 6e 67 20 53 69 6e 67 6c | 65 57 61 69 74 69 6e 67 |ng Singl|eWaiting|
|000006f0| 4d 65 73 73 61 67 65 3b | 0d 0a 76 61 72 20 6c 6f |Message;|..var lo|
|00000700| 63 61 6c 69 7a 65 64 20 | 73 74 72 69 6e 67 20 67 |calized |string g|
|00000710| 61 6d 65 67 6f 61 6c 3b | 0d 0a 0d 0a 76 61 72 20 |amegoal;|....var |
|00000720| 66 6c 6f 61 74 20 4c 61 | 73 74 54 61 75 6e 74 54 |float La|stTauntT|
|00000730| 69 6d 65 3b 0d 0a 76 61 | 72 20 4e 61 76 69 67 61 |ime;..va|r Naviga|
|00000740| 74 69 6f 6e 50 6f 69 6e | 74 20 4c 61 73 74 53 74 |tionPoin|t LastSt|
|00000750| 61 72 74 53 70 6f 74 3b | 0d 0a 76 61 72 28 29 20 |artSpot;|..var() |
|00000760| 63 6f 6e 66 69 67 20 69 | 6e 74 09 4d 61 78 43 6f |config i|nt.MaxCo|
|00000770| 6d 6d 61 6e 64 65 72 73 | 3b 0d 0a 76 61 72 20 69 |mmanders|;..var i|
|00000780| 6e 74 20 20 20 4e 75 6d | 43 6f 6d 6d 61 6e 64 65 |nt Num|Commande|
|00000790| 72 73 3b 0d 0a 0d 0a 76 | 61 72 20 62 6f 6f 6c 20 |rs;....v|ar bool |
|000007a0| 62 54 75 74 6f 72 69 61 | 6c 47 61 6d 65 3b 0d 0a |bTutoria|lGame;..|
|000007b0| 0d 0a 2f 2f 20 42 6f 74 | 20 72 65 6c 61 74 65 64 |..// Bot| related|
|000007c0| 20 69 6e 66 6f 0d 0a 76 | 61 72 20 20 20 69 6e 74 | info..v|ar int|
|000007d0| 09 09 09 09 4e 75 6d 42 | 6f 74 73 3b 0d 0a 76 61 |....NumB|ots;..va|
|000007e0| 72 09 20 20 69 6e 74 09 | 09 09 09 52 65 6d 61 69 |r. int.|...Remai|
|000007f0| 6e 69 6e 67 42 6f 74 73 | 3b 0d 0a 76 61 72 09 20 |ningBots|;..var. |
|00000800| 20 69 6e 74 09 09 09 09 | 4c 61 73 74 54 61 75 6e | int....|LastTaun|
|00000810| 74 5b 34 5d 3b 0d 0a 76 | 61 72 28 29 20 67 6c 6f |t[4];..v|ar() glo|
|00000820| 62 61 6c 63 6f 6e 66 69 | 67 20 69 6e 74 09 49 6e |balconfi|g int.In|
|00000830| 69 74 69 61 6c 42 6f 74 | 73 3b 0d 0a 76 61 72 09 |itialBot|s;..var.|
|00000840| 43 68 61 6c 6c 65 6e 67 | 65 42 6f 74 49 6e 66 6f |Challeng|eBotInfo|
|00000850| 09 42 6f 74 43 6f 6e 66 | 69 67 3b 0d 0a 76 61 72 |.BotConf|ig;..var|
|00000860| 20 6c 6f 63 61 6c 69 7a | 65 64 20 73 74 72 69 6e | localiz|ed strin|
|00000870| 67 09 4e 6f 4e 61 6d 65 | 43 68 61 6e 67 65 2c 20 |g.NoName|Change, |
|00000880| 4f 76 65 72 74 69 6d 65 | 4d 65 73 73 61 67 65 3b |Overtime|Message;|
|00000890| 0d 0a 76 61 72 20 63 6c | 61 73 73 3c 43 68 61 6c |..var cl|ass<Chal|
|000008a0| 6c 65 6e 67 65 42 6f 74 | 49 6e 66 6f 3e 09 09 42 |lengeBot|Info>..B|
|000008b0| 6f 74 43 6f 6e 66 69 67 | 54 79 70 65 3b 0d 0a 0d |otConfig|Type;...|
|000008c0| 0a 2f 2f 20 50 6c 61 79 | 65 72 20 72 61 74 69 6e |.// Play|er ratin|
|000008d0| 67 20 76 61 72 69 61 62 | 6c 65 73 20 66 6f 72 20 |g variab|les for |
|000008e0| 73 69 6e 67 6c 65 20 70 | 6c 61 79 65 72 20 72 61 |single p|layer ra|
|000008f0| 74 65 64 20 67 61 6d 65 | 73 0d 0a 76 61 72 20 66 |ted game|s..var f|
|00000900| 6c 6f 61 74 20 50 6c 61 | 79 65 72 52 61 74 69 6e |loat Pla|yerRatin|
|00000910| 67 2c 20 41 76 67 4f 70 | 70 6f 6e 65 6e 74 52 61 |g, AvgOp|ponentRa|
|00000920| 74 69 6e 67 3b 0d 0a 76 | 61 72 20 69 6e 74 20 4e |ting;..v|ar int N|
|00000930| 75 6d 4f 70 70 2c 20 57 | 69 6e 43 6f 75 6e 74 2c |umOpp, W|inCount,|
|00000940| 20 4c 6f 73 65 43 6f 75 | 6e 74 3b 0d 0a 76 61 72 | LoseCou|nt;..var|
|00000950| 20 50 6c 61 79 65 72 50 | 61 77 6e 20 52 61 74 65 | PlayerP|awn Rate|
|00000960| 64 50 6c 61 79 65 72 3b | 0d 0a 76 61 72 20 69 6e |dPlayer;|..var in|
|00000970| 74 20 49 44 6e 75 6d 3b | 0d 0a 76 61 72 20 52 61 |t IDnum;|..var Ra|
|00000980| 74 65 64 4d 61 74 63 68 | 49 6e 66 6f 20 52 61 74 |tedMatch|Info Rat|
|00000990| 65 64 4d 61 74 63 68 43 | 6f 6e 66 69 67 3b 0d 0a |edMatchC|onfig;..|
|000009a0| 76 61 72 20 66 6c 6f 61 | 74 20 45 6e 64 54 69 6d |var floa|t EndTim|
|000009b0| 65 3b 0d 0a 76 61 72 20 | 69 6e 74 20 4c 61 64 64 |e;..var |int Ladd|
|000009c0| 65 72 54 79 70 65 49 6e | 64 65 78 3b 0d 0a 0d 0a |erTypeIn|dex;....|
|000009d0| 76 61 72 20 4c 61 64 64 | 65 72 49 6e 76 65 6e 74 |var Ladd|erInvent|
|000009e0| 6f 72 79 20 52 61 74 65 | 64 47 61 6d 65 4c 61 64 |ory Rate|dGameLad|
|000009f0| 64 65 72 4f 62 6a 3b 0d | 0a 0d 0a 66 75 6e 63 74 |derObj;.|...funct|
|00000a00| 69 6f 6e 20 50 6f 73 74 | 42 65 67 69 6e 50 6c 61 |ion Post|BeginPla|
|00000a10| 79 28 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 73 |y()..{..|.local s|
|00000a20| 74 72 69 6e 67 20 4e 65 | 78 74 50 6c 61 79 65 72 |tring Ne|xtPlayer|
|00000a30| 43 6c 61 73 73 3b 0d 0a | 09 6c 6f 63 61 6c 20 69 |Class;..|.local i|
|00000a40| 6e 74 20 69 3b 0d 0a 0d | 0a 09 69 66 20 28 20 62 |nt i;...|..if ( b|
|00000a50| 41 6c 74 65 72 6e 61 74 | 65 4d 6f 64 65 20 29 0d |Alternat|eMode ).|
|00000a60| 0a 09 7b 0d 0a 09 09 62 | 56 65 72 79 4c 6f 77 47 |..{....b|VeryLowG|
|00000a70| 6f 72 65 20 3d 20 74 72 | 75 65 3b 0d 0a 09 09 62 |ore = tr|ue;....b|
|00000a80| 4c 6f 77 47 6f 72 65 20 | 3d 20 74 72 75 65 3b 0d |LowGore |= true;.|
|00000a90| 0a 09 7d 0d 0a 09 42 6f | 74 43 6f 6e 66 69 67 20 |..}...Bo|tConfig |
|00000aa0| 3d 20 73 70 61 77 6e 28 | 42 6f 74 43 6f 6e 66 69 |= spawn(|BotConfi|
|00000ab0| 67 54 79 70 65 29 3b 0d | 0a 09 69 66 20 28 20 4c |gType);.|..if ( L|
|00000ac0| 65 76 65 6c 2e 4e 65 74 | 4d 6f 64 65 20 3d 3d 20 |evel.Net|Mode == |
|00000ad0| 4e 4d 5f 53 74 61 6e 64 | 61 6c 6f 6e 65 20 29 0d |NM_Stand|alone ).|
|00000ae0| 0a 09 09 52 65 6d 61 69 | 6e 69 6e 67 42 6f 74 73 |...Remai|ningBots|
|00000af0| 20 3d 20 49 6e 69 74 69 | 61 6c 42 6f 74 73 3b 0d | = Initi|alBots;.|
|00000b00| 0a 09 65 6c 73 65 0d 0a | 09 09 52 65 6d 61 69 6e |..else..|..Remain|
|00000b10| 69 6e 67 42 6f 74 73 20 | 3d 20 30 3b 0d 0a 09 53 |ingBots |= 0;...S|
|00000b20| 75 70 65 72 2e 50 6f 73 | 74 42 65 67 69 6e 50 6c |uper.Pos|tBeginPl|
|00000b30| 61 79 28 29 3b 0d 0a 09 | 47 61 6d 65 52 65 70 6c |ay();...|GameRepl|
|00000b40| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 52 65 6d 61 |icationI|nfo.Rema|
|00000b50| 69 6e 69 6e 67 54 69 6d | 65 20 3d 20 52 65 6d 61 |iningTim|e = Rema|
|00000b60| 69 6e 69 6e 67 54 69 6d | 65 3b 0d 0a 7d 0d 0a 0d |iningTim|e;..}...|
|00000b70| 0a 66 75 6e 63 74 69 6f | 6e 20 50 72 65 43 61 63 |.functio|n PreCac|
|00000b80| 68 65 52 65 66 65 72 65 | 6e 63 65 73 28 29 0d 0a |heRefere|nces()..|
|00000b90| 7b 0d 0a 09 2f 2f 6e 65 | 76 65 72 20 63 61 6c 6c |{...//ne|ver call|
|00000ba0| 65 64 20 2d 20 68 65 72 | 65 20 74 6f 20 66 6f 72 |ed - her|e to for|
|00000bb0| 63 65 20 70 72 65 63 61 | 63 68 69 6e 67 20 6f 66 |ce preca|ching of|
|00000bc0| 20 6d 65 73 68 65 73 0d | 0a 09 73 70 61 77 6e 28 | meshes.|..spawn(|
|00000bd0| 63 6c 61 73 73 27 54 4d | 61 6c 65 32 27 29 3b 0d |class'TM|ale2');.|
|00000be0| 0a 09 73 70 61 77 6e 28 | 63 6c 61 73 73 27 49 6d |..spawn(|class'Im|
|00000bf0| 70 61 63 74 48 61 6d 6d | 65 72 27 29 3b 0d 0a 09 |pactHamm|er');...|
|00000c00| 73 70 61 77 6e 28 63 6c | 61 73 73 27 54 72 61 6e |spawn(cl|ass'Tran|
|00000c10| 73 6c 6f 63 61 74 6f 72 | 27 29 3b 0d 0a 09 73 70 |slocator|');...sp|
|00000c20| 61 77 6e 28 63 6c 61 73 | 73 27 45 6e 66 6f 72 63 |awn(clas|s'Enforc|
|00000c30| 65 72 27 29 3b 0d 0a 09 | 73 70 61 77 6e 28 63 6c |er');...|spawn(cl|
|00000c40| 61 73 73 27 53 68 6f 63 | 6b 52 69 66 6c 65 27 29 |ass'Shoc|kRifle')|
|00000c50| 3b 0d 0a 09 73 70 61 77 | 6e 28 63 6c 61 73 73 27 |;...spaw|n(class'|
|00000c60| 50 75 6c 73 65 47 75 6e | 27 29 3b 0d 0a 09 73 70 |PulseGun|');...sp|
|00000c70| 61 77 6e 28 63 6c 61 73 | 73 27 4d 69 6e 69 67 75 |awn(clas|s'Minigu|
|00000c80| 6e 32 27 29 3b 0d 0a 09 | 73 70 61 77 6e 28 63 6c |n2');...|spawn(cl|
|00000c90| 61 73 73 27 55 54 5f 45 | 69 67 68 74 62 61 6c 6c |ass'UT_E|ightball|
|00000ca0| 27 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |');..}..|..functi|
|00000cb0| 6f 6e 20 43 68 65 63 6b | 52 65 61 64 79 28 29 0d |on Check|Ready().|
|00000cc0| 0a 7b 0d 0a 09 69 66 20 | 28 20 28 46 72 61 67 4c |.{...if |( (FragL|
|00000cd0| 69 6d 69 74 20 3d 3d 20 | 30 29 20 26 26 20 28 54 |imit == |0) && (T|
|00000ce0| 69 6d 65 4c 69 6d 69 74 | 20 3d 3d 20 30 29 20 29 |imeLimit| == 0) )|
|00000cf0| 0d 0a 09 7b 0d 0a 09 09 | 54 69 6d 65 4c 69 6d 69 |...{....|TimeLimi|
|00000d00| 74 20 3d 20 32 30 3b 0d | 0a 09 09 52 65 6d 61 69 |t = 20;.|...Remai|
|00000d10| 6e 69 6e 67 54 69 6d 65 | 20 3d 20 36 30 20 2a 20 |ningTime| = 60 * |
|00000d20| 54 69 6d 65 4c 69 6d 69 | 74 3b 0d 0a 09 7d 0d 0a |TimeLimi|t;...}..|
|00000d30| 7d 0d 0a 0d 0a 2f 2f 0d | 0a 2f 2f 20 53 65 74 20 |}....//.|.// Set |
|00000d40| 67 61 6d 65 70 6c 61 79 | 20 73 70 65 65 64 2e 0d |gameplay| speed..|
|00000d50| 0a 2f 2f 0d 0a 66 75 6e | 63 74 69 6f 6e 20 53 65 |.//..fun|ction Se|
|00000d60| 74 47 61 6d 65 53 70 65 | 65 64 28 20 46 6c 6f 61 |tGameSpe|ed( Floa|
|00000d70| 74 20 54 20 29 0d 0a 7b | 0d 0a 09 47 61 6d 65 53 |t T )..{|...GameS|
|00000d80| 70 65 65 64 20 3d 20 46 | 4d 61 78 28 54 2c 20 30 |peed = F|Max(T, 0|
|00000d90| 2e 31 29 3b 0d 0a 09 69 | 66 20 28 20 62 48 61 72 |.1);...i|f ( bHar|
|00000da0| 64 43 6f 72 65 4d 6f 64 | 65 20 29 0d 0a 09 7b 0d |dCoreMod|e )...{.|
|00000db0| 0a 09 09 69 66 20 28 20 | 62 43 68 61 6c 6c 65 6e |...if ( |bChallen|
|00000dc0| 67 65 4d 6f 64 65 20 29 | 0d 0a 09 09 09 4c 65 76 |geMode )|.....Lev|
|00000dd0| 65 6c 2e 54 69 6d 65 44 | 69 6c 61 74 69 6f 6e 20 |el.TimeD|ilation |
|00000de0| 3d 20 31 2e 32 35 20 2a | 20 47 61 6d 65 53 70 65 |= 1.25 *| GameSpe|
|00000df0| 65 64 3b 0d 0a 09 09 65 | 6c 73 65 0d 0a 09 09 09 |ed;....e|lse.....|
|00000e00| 4c 65 76 65 6c 2e 54 69 | 6d 65 44 69 6c 61 74 69 |Level.Ti|meDilati|
|00000e10| 6f 6e 20 3d 20 31 2e 31 | 20 2a 20 47 61 6d 65 53 |on = 1.1| * GameS|
|00000e20| 70 65 65 64 3b 0d 0a 09 | 7d 0d 0a 09 65 6c 73 65 |peed;...|}...else|
|00000e30| 0d 0a 09 09 4c 65 76 65 | 6c 2e 54 69 6d 65 44 69 |....Leve|l.TimeDi|
|00000e40| 6c 61 74 69 6f 6e 20 3d | 20 47 61 6d 65 53 70 65 |lation =| GameSpe|
|00000e50| 65 64 3b 0d 0a 09 53 61 | 76 65 43 6f 6e 66 69 67 |ed;...Sa|veConfig|
|00000e60| 28 29 3b 0d 0a 09 53 65 | 74 54 69 6d 65 72 28 4c |();...Se|tTimer(L|
|00000e70| 65 76 65 6c 2e 54 69 6d | 65 44 69 6c 61 74 69 6f |evel.Tim|eDilatio|
|00000e80| 6e 2c 20 74 72 75 65 29 | 3b 0d 0a 7d 0d 0a 0d 0a |n, true)|;..}....|
|00000e90| 66 75 6e 63 74 69 6f 6e | 20 50 6c 61 79 54 65 6c |function| PlayTel|
|00000ea0| 65 70 6f 72 74 45 66 66 | 65 63 74 28 20 61 63 74 |eportEff|ect( act|
|00000eb0| 6f 72 20 49 6e 63 6f 6d | 69 6e 67 2c 20 62 6f 6f |or Incom|ing, boo|
|00000ec0| 6c 20 62 4f 75 74 2c 20 | 62 6f 6f 6c 20 62 53 6f |l bOut, |bool bSo|
|00000ed0| 75 6e 64 29 0d 0a 7b 0d | 0a 20 09 6c 6f 63 61 6c |und)..{.|. .local|
|00000ee0| 20 55 54 54 65 6c 65 70 | 6f 72 74 45 66 66 65 63 | UTTelep|ortEffec|
|00000ef0| 74 20 50 54 45 3b 0d 0a | 0d 0a 09 69 66 20 28 20 |t PTE;..|...if ( |
|00000f00| 62 52 65 71 75 69 72 65 | 52 65 61 64 79 20 26 26 |bRequire|Ready &&|
|00000f10| 20 28 43 6f 75 6e 74 64 | 6f 77 6e 20 3e 20 30 29 | (Countd|own > 0)|
|00000f20| 20 29 0d 0a 09 09 72 65 | 74 75 72 6e 3b 0d 0a 0d | )....re|turn;...|
|00000f30| 0a 09 69 66 20 28 20 49 | 6e 63 6f 6d 69 6e 67 2e |..if ( I|ncoming.|
|00000f40| 62 49 73 50 61 77 6e 20 | 26 26 20 28 49 6e 63 6f |bIsPawn |&& (Inco|
|00000f50| 6d 69 6e 67 2e 4d 65 73 | 68 20 21 3d 20 4e 6f 6e |ming.Mes|h != Non|
|00000f60| 65 29 20 29 0d 0a 09 7b | 0d 0a 09 09 69 66 20 28 |e) )...{|....if (|
|00000f70| 20 62 53 6f 75 6e 64 20 | 29 0d 0a 09 09 7b 0d 0a | bSound |)....{..|
|00000f80| 20 09 09 09 50 54 45 20 | 3d 20 53 70 61 77 6e 28 | ...PTE |= Spawn(|
|00000f90| 63 6c 61 73 73 27 55 54 | 54 65 6c 65 70 6f 72 74 |class'UT|Teleport|
|00000fa0| 45 66 66 65 63 74 27 2c | 49 6e 63 6f 6d 69 6e 67 |Effect',|Incoming|
|00000fb0| 2c 2c 20 49 6e 63 6f 6d | 69 6e 67 2e 4c 6f 63 61 |,, Incom|ing.Loca|
|00000fc0| 74 69 6f 6e 2c 20 49 6e | 63 6f 6d 69 6e 67 2e 52 |tion, In|coming.R|
|00000fd0| 6f 74 61 74 69 6f 6e 29 | 3b 0d 0a 20 09 09 09 50 |otation)|;.. ...P|
|00000fe0| 54 45 2e 49 6e 69 74 69 | 61 6c 69 7a 65 28 50 61 |TE.Initi|alize(Pa|
|00000ff0| 77 6e 28 49 6e 63 6f 6d | 69 6e 67 29 2c 20 62 4f |wn(Incom|ing), bO|
|00001000| 75 74 29 3b 0d 0a 09 09 | 09 49 6e 63 6f 6d 69 6e |ut);....|.Incomin|
|00001010| 67 2e 50 6c 61 79 53 6f | 75 6e 64 28 73 6f 75 6e |g.PlaySo|und(soun|
|00001020| 64 27 52 65 73 70 32 41 | 27 2c 2c 20 31 30 2e 30 |d'Resp2A|',, 10.0|
|00001030| 29 3b 0d 0a 09 09 7d 0d | 0a 09 7d 0d 0a 7d 0d 0a |);....}.|..}..}..|
|00001040| 0d 0a 2f 2f 20 50 61 72 | 73 65 20 6f 70 74 69 6f |..// Par|se optio|
|00001050| 6e 73 20 66 6f 72 20 74 | 68 69 73 20 67 61 6d 65 |ns for t|his game|
|00001060| 2e 2e 2e 0d 0a 65 76 65 | 6e 74 20 49 6e 69 74 47 |.....eve|nt InitG|
|00001070| 61 6d 65 28 20 73 74 72 | 69 6e 67 20 4f 70 74 69 |ame( str|ing Opti|
|00001080| 6f 6e 73 2c 20 6f 75 74 | 20 73 74 72 69 6e 67 20 |ons, out| string |
|00001090| 45 72 72 6f 72 20 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |Error ).|.{...loc|
|000010a0| 61 6c 20 73 74 72 69 6e | 67 20 49 6e 4f 70 74 3b |al strin|g InOpt;|
|000010b0| 0d 0a 0d 0a 09 53 75 70 | 65 72 2e 49 6e 69 74 47 |.....Sup|er.InitG|
|000010c0| 61 6d 65 28 4f 70 74 69 | 6f 6e 73 2c 20 45 72 72 |ame(Opti|ons, Err|
|000010d0| 6f 72 29 3b 0d 0a 0d 0a | 09 52 65 6d 61 69 6e 69 |or);....|.Remaini|
|000010e0| 6e 67 54 69 6d 65 20 3d | 20 36 30 20 2a 20 54 69 |ngTime =| 60 * Ti|
|000010f0| 6d 65 4c 69 6d 69 74 3b | 0d 0a 09 53 65 74 47 61 |meLimit;|...SetGa|
|00001100| 6d 65 53 70 65 65 64 28 | 47 61 6d 65 53 70 65 65 |meSpeed(|GameSpee|
|00001110| 64 29 3b 0d 0a 09 46 72 | 61 67 4c 69 6d 69 74 20 |d);...Fr|agLimit |
|00001120| 3d 20 47 65 74 49 6e 74 | 4f 70 74 69 6f 6e 28 20 |= GetInt|Option( |
|00001130| 4f 70 74 69 6f 6e 73 2c | 20 22 46 72 61 67 4c 69 |Options,| "FragLi|
|00001140| 6d 69 74 22 2c 20 46 72 | 61 67 4c 69 6d 69 74 20 |mit", Fr|agLimit |
|00001150| 29 3b 0d 0a 09 54 69 6d | 65 4c 69 6d 69 74 20 3d |);...Tim|eLimit =|
|00001160| 20 47 65 74 49 6e 74 4f | 70 74 69 6f 6e 28 20 4f | GetIntO|ption( O|
|00001170| 70 74 69 6f 6e 73 2c 20 | 22 54 69 6d 65 4c 69 6d |ptions, |"TimeLim|
|00001180| 69 74 22 2c 20 54 69 6d | 65 4c 69 6d 69 74 20 29 |it", Tim|eLimit )|
|00001190| 3b 0d 0a 09 4d 61 78 43 | 6f 6d 6d 61 6e 64 65 72 |;...MaxC|ommander|
|000011a0| 73 20 3d 20 47 65 74 49 | 6e 74 4f 70 74 69 6f 6e |s = GetI|ntOption|
|000011b0| 28 20 4f 70 74 69 6f 6e | 73 2c 20 22 4d 61 78 43 |( Option|s, "MaxC|
|000011c0| 6f 6d 6d 61 6e 64 65 72 | 73 22 2c 20 4d 61 78 43 |ommander|s", MaxC|
|000011d0| 6f 6d 6d 61 6e 64 65 72 | 73 20 29 3b 0d 0a 0d 0a |ommander|s );....|
|000011e0| 09 49 6e 4f 70 74 20 3d | 20 50 61 72 73 65 4f 70 |.InOpt =| ParseOp|
|000011f0| 74 69 6f 6e 28 20 4f 70 | 74 69 6f 6e 73 2c 20 22 |tion( Op|tions, "|
|00001200| 43 6f 6f 70 57 65 61 70 | 6f 6e 4d 6f 64 65 22 29 |CoopWeap|onMode")|
|00001210| 3b 0d 0a 09 69 66 20 28 | 20 49 6e 4f 70 74 20 21 |;...if (| InOpt !|
|00001220| 3d 20 22 22 20 29 0d 0a | 09 7b 0d 0a 09 09 6c 6f |= "" )..|.{....lo|
|00001230| 67 28 22 43 6f 6f 70 57 | 65 61 70 6f 6e 4d 6f 64 |g("CoopW|eaponMod|
|00001240| 65 3a 20 22 24 62 6f 6f | 6c 28 49 6e 4f 70 74 29 |e: "$boo|l(InOpt)|
|00001250| 29 3b 0d 0a 09 09 62 43 | 6f 6f 70 57 65 61 70 6f |);....bC|oopWeapo|
|00001260| 6e 4d 6f 64 65 20 3d 20 | 62 6f 6f 6c 28 49 6e 4f |nMode = |bool(InO|
|00001270| 70 74 29 3b 0d 0a 09 7d | 0d 0a 0d 0a 09 49 44 6e |pt);...}|.....IDn|
|00001280| 75 6d 20 3d 20 2d 31 3b | 0d 0a 09 49 44 6e 75 6d |um = -1;|...IDnum|
|00001290| 20 3d 20 47 65 74 49 6e | 74 4f 70 74 69 6f 6e 28 | = GetIn|tOption(|
|000012a0| 20 4f 70 74 69 6f 6e 73 | 2c 20 22 54 6f 75 72 6e | Options|, "Tourn|
|000012b0| 61 6d 65 6e 74 22 2c 20 | 49 44 6e 75 6d 20 29 3b |ament", |IDnum );|
|000012c0| 0d 0a 09 69 66 20 28 20 | 49 44 6e 75 6d 20 3e 20 |...if ( |IDnum > |
|000012d0| 30 20 29 0d 0a 09 7b 0d | 0a 09 09 62 52 61 74 65 |0 )...{.|...bRate|
|000012e0| 64 47 61 6d 65 20 3d 20 | 74 72 75 65 3b 0d 0a 09 |dGame = |true;...|
|000012f0| 09 54 69 6d 65 4c 69 6d | 69 74 20 3d 20 30 3b 0d |.TimeLim|it = 0;.|
|00001300| 0a 09 09 52 65 6d 61 69 | 6e 69 6e 67 54 69 6d 65 |...Remai|ningTime|
|00001310| 20 3d 20 30 3b 0d 0a 09 | 7d 0d 0a 09 69 66 20 28 | = 0;...|}...if (|
|00001320| 20 62 54 6f 75 72 6e 61 | 6d 65 6e 74 20 29 20 0d | bTourna|ment ) .|
|00001330| 0a 09 7b 0d 0a 09 09 62 | 52 65 71 75 69 72 65 52 |..{....b|RequireR|
|00001340| 65 61 64 79 20 3d 20 74 | 72 75 65 3b 0d 0a 09 09 |eady = t|rue;....|
|00001350| 43 68 65 63 6b 52 65 61 | 64 79 28 29 3b 0d 0a 09 |CheckRea|dy();...|
|00001360| 7d 0d 0a 09 69 66 20 28 | 20 4c 65 76 65 6c 2e 4e |}...if (| Level.N|
|00001370| 65 74 4d 6f 64 65 20 3d | 3d 20 4e 4d 5f 53 74 61 |etMode =|= NM_Sta|
|00001380| 6e 64 41 6c 6f 6e 65 20 | 29 0d 0a 09 7b 0d 0a 09 |ndAlone |)...{...|
|00001390| 09 62 52 65 71 75 69 72 | 65 52 65 61 64 79 20 3d |.bRequir|eReady =|
|000013a0| 20 74 72 75 65 3b 0d 0a | 09 09 43 6f 75 6e 74 44 | true;..|..CountD|
|000013b0| 6f 77 6e 20 3d 20 31 3b | 0d 0a 09 7d 0d 0a 09 69 |own = 1;|...}...i|
|000013c0| 66 20 28 20 62 4d 65 67 | 61 53 70 65 65 64 20 29 |f ( bMeg|aSpeed )|
|000013d0| 0d 0a 09 09 41 69 72 43 | 6f 6e 74 72 6f 6c 20 3d |....AirC|ontrol =|
|000013e0| 20 30 2e 36 35 3b 0d 0a | 09 69 66 20 28 20 21 62 | 0.65;..|.if ( !b|
|000013f0| 52 65 71 75 69 72 65 52 | 65 61 64 79 20 26 26 20 |RequireR|eady && |
|00001400| 28 4c 65 76 65 6c 2e 4e | 65 74 4d 6f 64 65 20 21 |(Level.N|etMode !|
|00001410| 3d 20 4e 4d 5f 53 74 61 | 6e 64 61 6c 6f 6e 65 29 |= NM_Sta|ndalone)|
|00001420| 20 29 0d 0a 09 7b 0d 0a | 09 09 62 52 65 71 75 69 | )...{..|..bRequi|
|00001430| 72 65 52 65 61 64 79 20 | 3d 20 74 72 75 65 3b 0d |reReady |= true;.|
|00001440| 0a 09 09 62 4e 65 74 52 | 65 61 64 79 20 3d 20 74 |...bNetR|eady = t|
|00001450| 72 75 65 3b 0d 0a 09 7d | 0d 0a 7d 0d 0a 0d 0a 2f |rue;...}|..}..../|
|00001460| 2f 20 53 65 74 20 67 61 | 6d 65 20 73 65 74 74 69 |/ Set ga|me setti|
|00001470| 6e 67 73 20 62 61 73 65 | 64 20 6f 6e 20 6c 61 64 |ngs base|d on lad|
|00001480| 64 65 72 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2e |der info|rmation.|
|00001490| 0d 0a 2f 2f 20 43 61 6c | 6c 65 64 20 77 68 65 6e |..// Cal|led when|
|000014a0| 20 52 61 74 65 64 50 6c | 61 79 65 72 20 6c 6f 67 | RatedPl|ayer log|
|000014b0| 73 20 69 6e 2e 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |s in...f|unction |
|000014c0| 49 6e 69 74 52 61 74 65 | 64 47 61 6d 65 28 4c 61 |InitRate|dGame(La|
|000014d0| 64 64 65 72 49 6e 76 65 | 6e 74 6f 72 79 20 4c 61 |dderInve|ntory La|
|000014e0| 64 64 65 72 4f 62 6a 2c | 20 50 6c 61 79 65 72 50 |dderObj,| PlayerP|
|000014f0| 61 77 6e 20 4c 61 64 64 | 65 72 50 6c 61 79 65 72 |awn Ladd|erPlayer|
|00001500| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 63 6c 61 |)..{...l|ocal cla|
|00001510| 73 73 3c 52 61 74 65 64 | 4d 61 74 63 68 49 6e 66 |ss<Rated|MatchInf|
|00001520| 6f 3e 20 52 4d 49 3b 0d | 0a 09 6c 6f 63 61 6c 20 |o> RMI;.|..local |
|00001530| 57 65 61 70 6f 6e 20 57 | 3b 0d 0a 0d 0a 09 46 72 |Weapon W|;.....Fr|
|00001540| 61 67 4c 69 6d 69 74 20 | 3d 20 4c 61 64 64 65 72 |agLimit |= Ladder|
|00001550| 4f 62 6a 2e 43 75 72 72 | 65 6e 74 4c 61 64 64 65 |Obj.Curr|entLadde|
|00001560| 72 2e 44 65 66 61 75 6c | 74 2e 46 72 61 67 4c 69 |r.Defaul|t.FragLi|
|00001570| 6d 69 74 73 5b 49 44 6e | 75 6d 5d 3b 0d 0a 09 52 |mits[IDn|um];...R|
|00001580| 61 74 65 64 47 61 6d 65 | 4c 61 64 64 65 72 4f 62 |atedGame|LadderOb|
|00001590| 6a 20 3d 20 4c 61 64 64 | 65 72 4f 62 6a 3b 0d 0a |j = Ladd|erObj;..|
|000015a0| 09 69 66 20 28 4c 61 64 | 64 65 72 4f 62 6a 2e 43 |.if (Lad|derObj.C|
|000015b0| 75 72 72 65 6e 74 4c 61 | 64 64 65 72 2e 44 65 66 |urrentLa|dder.Def|
|000015c0| 61 75 6c 74 2e 54 69 6d | 65 4c 69 6d 69 74 73 5b |ault.Tim|eLimits[|
|000015d0| 49 44 6e 75 6d 5d 20 3e | 20 30 29 0d 0a 09 09 54 |IDnum] >| 0)....T|
|000015e0| 69 6d 65 4c 69 6d 69 74 | 20 3d 20 4c 61 64 64 65 |imeLimit| = Ladde|
|000015f0| 72 4f 62 6a 2e 43 75 72 | 72 65 6e 74 4c 61 64 64 |rObj.Cur|rentLadd|
|00001600| 65 72 2e 44 65 66 61 75 | 6c 74 2e 54 69 6d 65 4c |er.Defau|lt.TimeL|
|00001610| 69 6d 69 74 73 5b 49 44 | 6e 75 6d 5d 3b 0d 0a 09 |imits[ID|num];...|
|00001620| 62 4a 75 6d 70 4d 61 74 | 63 68 20 3d 20 66 61 6c |bJumpMat|ch = fal|
|00001630| 73 65 3b 0d 0a 09 62 48 | 61 72 64 43 6f 72 65 4d |se;...bH|ardCoreM|
|00001640| 6f 64 65 20 3d 20 74 72 | 75 65 3b 0d 0a 09 62 52 |ode = tr|ue;...bR|
|00001650| 65 71 75 69 72 65 52 65 | 61 64 79 20 3d 20 74 72 |equireRe|ady = tr|
|00001660| 75 65 3b 0d 0a 09 62 4d | 65 67 61 53 70 65 65 64 |ue;...bM|egaSpeed|
|00001670| 20 3d 20 66 61 6c 73 65 | 3b 0d 0a 09 43 6f 75 6e | = false|;...Coun|
|00001680| 74 44 6f 77 6e 20 3d 20 | 31 3b 0d 0a 09 62 52 61 |tDown = |1;...bRa|
|00001690| 74 65 64 47 61 6d 65 20 | 3d 20 74 72 75 65 3b 0d |tedGame |= true;.|
|000016a0| 0a 09 62 43 6f 6f 70 57 | 65 61 70 6f 6e 4d 6f 64 |..bCoopW|eaponMod|
|000016b0| 65 20 3d 20 66 61 6c 73 | 65 3b 0d 0a 09 62 55 73 |e = fals|e;...bUs|
|000016c0| 65 54 72 61 6e 73 6c 6f | 63 61 74 6f 72 20 3d 20 |eTranslo|cator = |
|000016d0| 62 52 61 74 65 64 54 72 | 61 6e 73 6c 6f 63 61 74 |bRatedTr|anslocat|
|000016e0| 6f 72 3b 0d 0a 09 46 6f | 72 45 61 63 68 20 41 6c |or;...Fo|rEach Al|
|000016f0| 6c 41 63 74 6f 72 73 28 | 63 6c 61 73 73 27 57 65 |lActors(|class'We|
|00001700| 61 70 6f 6e 27 2c 20 57 | 29 0d 0a 09 09 57 2e 62 |apon', W|)....W.b|
|00001710| 57 65 61 70 6f 6e 53 74 | 61 79 20 3d 20 66 61 6c |WeaponSt|ay = fal|
|00001720| 73 65 3b 0d 0a 0d 0a 09 | 52 61 74 65 64 50 6c 61 |se;.....|RatedPla|
|00001730| 79 65 72 20 3d 20 4c 61 | 64 64 65 72 50 6c 61 79 |yer = La|dderPlay|
|00001740| 65 72 3b 20 0d 0a 0d 0a | 09 2f 2f 20 53 65 74 20 |er; ....|.// Set |
|00001750| 75 70 20 52 61 74 65 64 | 42 6f 74 43 6f 6e 66 69 |up Rated|BotConfi|
|00001760| 67 20 66 6f 72 20 74 68 | 69 73 20 67 61 6d 65 0d |g for th|is game.|
|00001770| 0a 09 42 6f 74 43 6f 6e | 66 69 67 2e 62 41 64 6a |..BotCon|fig.bAdj|
|00001780| 75 73 74 53 6b 69 6c 6c | 20 3d 20 66 61 6c 73 65 |ustSkill| = false|
|00001790| 3b 0d 0a 09 52 4d 49 20 | 3d 20 4c 61 64 64 65 72 |;...RMI |= Ladder|
|000017a0| 4f 62 6a 2e 43 75 72 72 | 65 6e 74 4c 61 64 64 65 |Obj.Curr|entLadde|
|000017b0| 72 2e 53 74 61 74 69 63 | 2e 47 65 74 4d 61 74 63 |r.Static|.GetMatc|
|000017c0| 68 43 6f 6e 66 69 67 54 | 79 70 65 28 49 44 6e 75 |hConfigT|ype(IDnu|
|000017d0| 6d 29 3b 0d 0a 09 52 61 | 74 65 64 4d 61 74 63 68 |m);...Ra|tedMatch|
|000017e0| 43 6f 6e 66 69 67 20 3d | 20 73 70 61 77 6e 28 52 |Config =| spawn(R|
|000017f0| 4d 49 29 3b 0d 0a 09 52 | 65 6d 61 69 6e 69 6e 67 |MI);...R|emaining|
|00001800| 42 6f 74 73 20 3d 20 52 | 61 74 65 64 4d 61 74 63 |Bots = R|atedMatc|
|00001810| 68 43 6f 6e 66 69 67 2e | 4e 75 6d 42 6f 74 73 3b |hConfig.|NumBots;|
|00001820| 20 0d 0a 09 44 69 66 66 | 69 63 75 6c 74 79 20 3d | ...Diff|iculty =|
|00001830| 20 4c 61 64 64 65 72 4f | 62 6a 2e 54 6f 75 72 6e | LadderO|bj.Tourn|
|00001840| 61 6d 65 6e 74 44 69 66 | 66 69 63 75 6c 74 79 20 |amentDif|ficulty |
|00001850| 2b 20 52 61 74 65 64 4d | 61 74 63 68 43 6f 6e 66 |+ RatedM|atchConf|
|00001860| 69 67 2e 4d 6f 64 69 66 | 69 65 64 44 69 66 66 69 |ig.Modif|iedDiffi|
|00001870| 63 75 6c 74 79 3b 0d 0a | 09 69 66 20 28 20 44 69 |culty;..|.if ( Di|
|00001880| 66 66 69 63 75 6c 74 79 | 20 3e 3d 20 34 20 29 0d |fficulty| >= 4 ).|
|00001890| 0a 09 7b 0d 0a 09 09 62 | 4e 6f 76 69 63 65 4d 6f |..{....b|NoviceMo|
|000018a0| 64 65 20 3d 20 66 61 6c | 73 65 3b 0d 0a 09 09 44 |de = fal|se;....D|
|000018b0| 69 66 66 69 63 75 6c 74 | 79 20 3d 20 44 69 66 66 |ifficult|y = Diff|
|000018c0| 69 63 75 6c 74 79 20 2d | 20 34 3b 0d 0a 09 7d 0d |iculty -| 4;...}.|
|000018d0| 0a 09 65 6c 73 65 0d 0a | 09 7b 0d 0a 09 09 69 66 |..else..|.{....if|
|000018e0| 20 28 20 44 69 66 66 69 | 63 75 6c 74 79 20 3e 20 | ( Diffi|culty > |
|000018f0| 33 20 29 0d 0a 09 09 7b | 0d 0a 09 09 09 44 69 66 |3 )....{|.....Dif|
|00001900| 66 69 63 75 6c 74 79 20 | 3d 20 33 3b 0d 0a 09 09 |ficulty |= 3;....|
|00001910| 09 62 54 68 72 65 65 50 | 6c 75 73 20 3d 20 74 72 |.bThreeP|lus = tr|
|00001920| 75 65 3b 0d 0a 09 09 7d | 0d 0a 09 09 62 4e 6f 76 |ue;....}|....bNov|
|00001930| 69 63 65 4d 6f 64 65 20 | 3d 20 74 72 75 65 3b 0d |iceMode |= true;.|
|00001940| 0a 09 7d 0d 0a 0d 0a 09 | 2f 2f 20 55 70 64 61 74 |..}.....|// Updat|
|00001950| 65 20 47 52 49 0d 0a 09 | 49 6e 69 74 47 61 6d 65 |e GRI...|InitGame|
|00001960| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 28 |Replicat|ionInfo(|
|00001970| 29 3b 0d 0a 0d 0a 09 2f | 2f 20 55 70 64 61 74 65 |);...../|/ Update|
|00001980| 20 4c 6f 67 67 65 64 20 | 49 6e 66 6f 0d 0a 09 69 | Logged |Info...i|
|00001990| 66 20 28 62 4c 6f 63 61 | 6c 4c 6f 67 20 26 26 20 |f (bLoca|lLog && |
|000019a0| 62 4c 6f 67 67 69 6e 67 | 47 61 6d 65 29 0d 0a 09 |bLogging|Game)...|
|000019b0| 7b 0d 0a 09 09 4c 6f 67 | 47 61 6d 65 50 61 72 61 |{....Log|GamePara|
|000019c0| 6d 65 74 65 72 73 28 4c | 6f 63 61 6c 4c 6f 67 29 |meters(L|ocalLog)|
|000019d0| 3b 0d 0a 09 7d 0d 0a 09 | 69 66 20 28 62 57 6f 72 |;...}...|if (bWor|
|000019e0| 6c 64 4c 6f 67 20 26 26 | 20 62 4c 6f 67 67 69 6e |ldLog &&| bLoggin|
|000019f0| 67 47 61 6d 65 29 0d 0a | 09 7b 0d 0a 09 09 4c 6f |gGame)..|.{....Lo|
|00001a00| 67 47 61 6d 65 50 61 72 | 61 6d 65 74 65 72 73 28 |gGamePar|ameters(|
|00001a10| 57 6f 72 6c 64 4c 6f 67 | 29 3b 0d 0a 09 7d 0d 0a |WorldLog|);...}..|
|00001a20| 0d 0a 09 50 6c 61 79 53 | 74 61 72 74 75 70 4d 65 |...PlayS|tartupMe|
|00001a30| 73 73 61 67 65 28 4c 61 | 64 64 65 72 50 6c 61 79 |ssage(La|dderPlay|
|00001a40| 65 72 29 3b 0d 0a 09 4c | 61 64 64 65 72 50 6c 61 |er);...L|adderPla|
|00001a50| 79 65 72 2e 53 65 74 50 | 72 6f 67 72 65 73 73 54 |yer.SetP|rogressT|
|00001a60| 69 6d 65 28 36 29 3b 0d | 0a 7d 0d 0a 0d 0a 2f 2a |ime(6);.|.}..../*|
|00001a70| 20 41 63 63 65 70 74 49 | 6e 76 65 6e 74 6f 72 79 | AcceptI|nventory|
|00001a80| 28 29 0d 0a 45 78 61 6d | 69 6e 65 20 74 68 65 20 |()..Exam|ine the |
|00001a90| 70 61 73 73 65 64 20 70 | 6c 61 79 65 72 27 73 20 |passed p|layer's |
|00001aa0| 69 6e 76 65 6e 74 6f 72 | 79 2c 20 61 6e 64 20 61 |inventor|y, and a|
|00001ab0| 63 63 65 70 74 20 6f 72 | 20 64 69 73 63 61 72 64 |ccept or| discard|
|00001ac0| 20 65 61 63 68 20 69 74 | 65 6d 0d 0a 2a 20 41 63 | each it|em..* Ac|
|00001ad0| 63 65 70 74 49 6e 76 65 | 6e 74 6f 72 79 20 6e 65 |ceptInve|ntory ne|
|00001ae0| 65 64 73 20 74 6f 20 67 | 72 61 63 65 66 75 6c 6c |eds to g|racefull|
|00001af0| 79 20 68 61 6e 64 6c 65 | 20 74 68 65 20 63 61 73 |y handle| the cas|
|00001b00| 65 20 6f 66 20 73 6f 6d | 65 20 69 6e 76 65 6e 74 |e of som|e invent|
|00001b10| 6f 72 79 0d 0a 62 65 69 | 6e 67 20 61 63 63 65 70 |ory..bei|ng accep|
|00001b20| 74 65 64 20 62 75 74 20 | 6f 74 68 65 72 20 69 6e |ted but |other in|
|00001b30| 76 65 6e 74 6f 72 79 20 | 6e 6f 74 20 62 65 69 6e |ventory |not bein|
|00001b40| 67 20 61 63 63 65 70 74 | 65 64 20 28 73 75 63 68 |g accept|ed (such|
|00001b50| 20 61 73 20 74 68 65 20 | 64 65 66 61 75 6c 74 0d | as the |default.|
|00001b60| 0a 77 65 61 70 6f 6e 29 | 2e 20 20 54 68 65 72 65 |.weapon)|. There|
|00001b70| 20 61 72 65 20 73 65 76 | 65 72 61 6c 20 74 68 69 | are sev|eral thi|
|00001b80| 6e 67 73 20 74 68 61 74 | 20 63 61 6e 20 67 6f 20 |ngs that| can go |
|00001b90| 77 72 6f 6e 67 3a 20 41 | 20 77 65 61 70 6f 6e 27 |wrong: A| weapon'|
|00001ba0| 73 0d 0a 41 6d 6d 6f 54 | 79 70 65 20 6e 6f 74 20 |s..AmmoT|ype not |
|00001bb0| 62 65 69 6e 67 20 61 63 | 63 65 70 74 65 64 20 62 |being ac|cepted b|
|00001bc0| 75 74 20 74 68 65 20 77 | 65 61 70 6f 6e 20 62 65 |ut the w|eapon be|
|00001bd0| 69 6e 67 20 61 63 63 65 | 70 74 65 64 20 2d 2d 20 |ing acce|pted -- |
|00001be0| 74 68 65 20 77 65 61 70 | 6f 6e 0d 0a 73 68 6f 75 |the weap|on..shou|
|00001bf0| 6c 64 20 62 65 20 6b 69 | 6c 6c 65 64 20 6f 66 66 |ld be ki|lled off|
|00001c00| 2e 20 4f 72 20 74 68 65 | 20 70 6c 61 79 65 72 27 |. Or the| player'|
|00001c10| 73 20 73 65 6c 65 63 74 | 65 64 20 69 6e 76 65 6e |s select|ed inven|
|00001c20| 74 6f 72 79 20 69 74 65 | 6d 2c 20 61 63 74 69 76 |tory ite|m, activ|
|00001c30| 65 0d 0a 77 65 61 70 6f | 6e 2c 20 65 74 63 2e 20 |e..weapo|n, etc. |
|00001c40| 6e 6f 74 20 62 65 69 6e | 67 20 61 63 63 65 70 74 |not bein|g accept|
|00001c50| 65 64 2c 20 6c 65 61 76 | 69 6e 67 20 74 68 65 20 |ed, leav|ing the |
|00001c60| 70 6c 61 79 65 72 20 77 | 65 61 70 6f 6e 6c 65 73 |player w|eaponles|
|00001c70| 73 20 6f 72 20 6c 65 61 | 76 69 6e 67 0d 0a 74 68 |s or lea|ving..th|
|00001c80| 65 20 48 55 44 20 69 6e | 76 65 6e 74 6f 72 79 20 |e HUD in|ventory |
|00001c90| 72 65 6e 64 65 72 69 6e | 67 20 6d 65 73 73 65 64 |renderin|g messed|
|00001ca0| 20 75 70 20 28 41 63 63 | 65 70 74 49 6e 76 65 6e | up (Acc|eptInven|
|00001cb0| 74 6f 72 79 20 73 68 6f | 75 6c 64 20 70 69 63 6b |tory sho|uld pick|
|00001cc0| 20 61 6e 6f 74 68 65 72 | 0d 0a 61 70 70 6c 69 63 | another|..applic|
|00001cd0| 61 62 6c 65 20 77 65 61 | 70 6f 6e 2f 69 74 65 6d |able wea|pon/item|
|00001ce0| 20 61 73 20 63 75 72 72 | 65 6e 74 29 2e 0d 0a 2a | as curr|ent)...*|
|00001cf0| 2f 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 41 63 63 65 |/..funct|ion Acce|
|00001d00| 70 74 49 6e 76 65 6e 74 | 6f 72 79 28 70 61 77 6e |ptInvent|ory(pawn|
|00001d10| 20 50 6c 61 79 65 72 50 | 61 77 6e 29 0d 0a 7b 0d | PlayerP|awn)..{.|
|00001d20| 0a 09 6c 6f 63 61 6c 20 | 69 6e 76 65 6e 74 6f 72 |..local |inventor|
|00001d30| 79 20 49 6e 76 3b 0d 0a | 09 6c 6f 63 61 6c 20 4c |y Inv;..|.local L|
|00001d40| 61 64 64 65 72 49 6e 76 | 65 6e 74 6f 72 79 20 4c |adderInv|entory L|
|00001d50| 61 64 64 65 72 4f 62 6a | 3b 0d 0a 0d 0a 09 2f 2f |adderObj|;.....//|
|00001d60| 20 44 65 61 74 68 4d 61 | 74 63 68 50 6c 75 73 20 | DeathMa|tchPlus |
|00001d70| 61 63 63 65 70 74 73 20 | 4c 61 64 64 65 72 49 6e |accepts |LadderIn|
|00001d80| 76 65 6e 74 6f 72 79 0d | 0a 09 66 6f 72 28 20 49 |ventory.|..for( I|
|00001d90| 6e 76 3d 50 6c 61 79 65 | 72 50 61 77 6e 2e 49 6e |nv=Playe|rPawn.In|
|00001da0| 76 65 6e 74 6f 72 79 3b | 20 49 6e 76 21 3d 4e 6f |ventory;| Inv!=No|
|00001db0| 6e 65 3b 20 49 6e 76 3d | 49 6e 76 2e 49 6e 76 65 |ne; Inv=|Inv.Inve|
|00001dc0| 6e 74 6f 72 79 20 29 0d | 0a 09 7b 0d 0a 09 09 69 |ntory ).|..{....i|
|00001dd0| 66 20 28 49 6e 76 2e 49 | 73 41 28 27 4c 61 64 64 |f (Inv.I|sA('Ladd|
|00001de0| 65 72 49 6e 76 65 6e 74 | 6f 72 79 27 29 29 0d 0a |erInvent|ory'))..|
|00001df0| 09 09 7b 0d 0a 09 09 09 | 4c 61 64 64 65 72 4f 62 |..{.....|LadderOb|
|00001e00| 6a 20 3d 20 4c 61 64 64 | 65 72 49 6e 76 65 6e 74 |j = Ladd|erInvent|
|00001e10| 6f 72 79 28 49 6e 76 29 | 3b 0d 0a 09 09 7d 20 0d |ory(Inv)|;....} .|
|00001e20| 0a 09 09 65 6c 73 65 20 | 09 0d 0a 09 09 09 49 6e |...else |......In|
|00001e30| 76 2e 44 65 73 74 72 6f | 79 28 29 3b 0d 0a 09 7d |v.Destro|y();...}|
|00001e40| 0d 0a 09 50 6c 61 79 65 | 72 50 61 77 6e 2e 57 65 |...Playe|rPawn.We|
|00001e50| 61 70 6f 6e 20 3d 20 4e | 6f 6e 65 3b 0d 0a 09 50 |apon = N|one;...P|
|00001e60| 6c 61 79 65 72 50 61 77 | 6e 2e 53 65 6c 65 63 74 |layerPaw|n.Select|
|00001e70| 65 64 49 74 65 6d 20 3d | 20 4e 6f 6e 65 3b 0d 0a |edItem =| None;..|
|00001e80| 09 41 64 64 44 65 66 61 | 75 6c 74 49 6e 76 65 6e |.AddDefa|ultInven|
|00001e90| 74 6f 72 79 28 20 50 6c | 61 79 65 72 50 61 77 6e |tory( Pl|ayerPawn|
|00001ea0| 20 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 | );..}..|..functi|
|00001eb0| 6f 6e 20 62 6f 6f 6c 20 | 53 65 74 45 6e 64 43 61 |on bool |SetEndCa|
|00001ec0| 6d 73 28 73 74 72 69 6e | 67 20 52 65 61 73 6f 6e |ms(strin|g Reason|
|00001ed0| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 70 61 77 |)..{...l|ocal paw|
|00001ee0| 6e 20 50 2c 20 42 65 73 | 74 3b 0d 0a 09 6c 6f 63 |n P, Bes|t;...loc|
|00001ef0| 61 6c 20 50 6c 61 79 65 | 72 50 61 77 6e 20 50 6c |al Playe|rPawn Pl|
|00001f00| 61 79 65 72 3b 0d 0a 0d | 0a 09 2f 2f 20 66 69 6e |ayer;...|..// fin|
|00001f10| 64 20 69 6e 64 69 76 69 | 64 75 61 6c 20 77 69 6e |d indivi|dual win|
|00001f20| 6e 65 72 0d 0a 09 66 6f | 72 20 28 20 50 3d 4c 65 |ner...fo|r ( P=Le|
|00001f30| 76 65 6c 2e 50 61 77 6e | 4c 69 73 74 3b 20 50 21 |vel.Pawn|List; P!|
|00001f40| 3d 4e 6f 6e 65 3b 20 50 | 3d 50 2e 6e 65 78 74 50 |=None; P|=P.nextP|
|00001f50| 61 77 6e 20 29 0d 0a 09 | 09 69 66 20 28 20 50 2e |awn )...|.if ( P.|
|00001f60| 62 49 73 50 6c 61 79 65 | 72 20 26 26 20 28 28 42 |bIsPlaye|r && ((B|
|00001f70| 65 73 74 20 3d 3d 20 4e | 6f 6e 65 29 20 7c 7c 20 |est == N|one) || |
|00001f80| 28 50 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |(P.Playe|rReplica|
|00001f90| 74 69 6f 6e 49 6e 66 6f | 2e 53 63 6f 72 65 20 3e |tionInfo|.Score >|
|00001fa0| 20 42 65 73 74 2e 50 6c | 61 79 65 72 52 65 70 6c | Best.Pl|ayerRepl|
|00001fb0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 53 63 6f 72 |icationI|nfo.Scor|
|00001fc0| 65 29 29 20 29 0d 0a 09 | 09 09 42 65 73 74 20 3d |e)) )...|..Best =|
|00001fd0| 20 50 3b 0d 0a 0d 0a 09 | 2f 2f 20 63 68 65 63 6b | P;.....|// check|
|00001fe0| 20 66 6f 72 20 74 69 65 | 0d 0a 09 66 6f 72 20 28 | for tie|...for (|
|00001ff0| 20 50 3d 4c 65 76 65 6c | 2e 50 61 77 6e 4c 69 73 | P=Level|.PawnLis|
|00002000| 74 3b 20 50 21 3d 4e 6f | 6e 65 3b 20 50 3d 50 2e |t; P!=No|ne; P=P.|
|00002010| 6e 65 78 74 50 61 77 6e | 20 29 0d 0a 09 09 69 66 |nextPawn| )....if|
|00002020| 20 28 20 50 2e 62 49 73 | 50 6c 61 79 65 72 20 26 | ( P.bIs|Player &|
|00002030| 26 20 28 42 65 73 74 20 | 21 3d 20 50 29 20 26 26 |& (Best |!= P) &&|
|00002040| 20 28 50 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 | (P.Play|erReplic|
|00002050| 61 74 69 6f 6e 49 6e 66 | 6f 2e 53 63 6f 72 65 20 |ationInf|o.Score |
|00002060| 3d 3d 20 42 65 73 74 2e | 50 6c 61 79 65 72 52 65 |== Best.|PlayerRe|
|00002070| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 53 63 |plicatio|nInfo.Sc|
|00002080| 6f 72 65 29 20 29 0d 0a | 09 09 7b 0d 0a 09 09 09 |ore) )..|..{.....|
|00002090| 42 72 6f 61 64 63 61 73 | 74 4c 6f 63 61 6c 69 7a |Broadcas|tLocaliz|
|000020a0| 65 64 4d 65 73 73 61 67 | 65 28 20 63 6c 61 73 73 |edMessag|e( class|
|000020b0| 27 44 65 61 74 68 4d 61 | 74 63 68 4d 65 73 73 61 |'DeathMa|tchMessa|
|000020c0| 67 65 27 2c 20 30 20 29 | 3b 0d 0a 09 09 09 72 65 |ge', 0 )|;.....re|
|000020d0| 74 75 72 6e 20 66 61 6c | 73 65 3b 0d 0a 09 09 7d |turn fal|se;....}|
|000020e0| 09 09 0d 0a 0d 0a 09 45 | 6e 64 54 69 6d 65 20 3d |.......E|ndTime =|
|000020f0| 20 4c 65 76 65 6c 2e 54 | 69 6d 65 53 65 63 6f 6e | Level.T|imeSecon|
|00002100| 64 73 20 2b 20 33 2e 30 | 3b 0d 0a 09 47 61 6d 65 |ds + 3.0|;...Game|
|00002110| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00002120| 47 61 6d 65 45 6e 64 65 | 64 43 6f 6d 6d 65 6e 74 |GameEnde|dComment|
|00002130| 73 20 3d 20 42 65 73 74 | 2e 50 6c 61 79 65 72 52 |s = Best|.PlayerR|
|00002140| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 50 |eplicati|onInfo.P|
|00002150| 6c 61 79 65 72 4e 61 6d | 65 40 47 61 6d 65 45 6e |layerNam|e@GameEn|
|00002160| 64 65 64 4d 65 73 73 61 | 67 65 3b 0d 0a 09 6c 6f |dedMessa|ge;...lo|
|00002170| 67 28 20 22 47 61 6d 65 | 20 65 6e 64 65 64 20 61 |g( "Game| ended a|
|00002180| 74 20 22 24 45 6e 64 54 | 69 6d 65 29 3b 0d 0a 09 |t "$EndT|ime);...|
|00002190| 66 6f 72 20 28 20 50 3d | 4c 65 76 65 6c 2e 50 61 |for ( P=|Level.Pa|
|000021a0| 77 6e 4c 69 73 74 3b 20 | 50 21 3d 4e 6f 6e 65 3b |wnList; |P!=None;|
|000021b0| 20 50 3d 50 2e 6e 65 78 | 74 50 61 77 6e 20 29 0d | P=P.nex|tPawn ).|
|000021c0| 0a 09 7b 0d 0a 09 09 50 | 6c 61 79 65 72 20 3d 20 |..{....P|layer = |
|000021d0| 50 6c 61 79 65 72 50 61 | 77 6e 28 50 29 3b 0d 0a |PlayerPa|wn(P);..|
|000021e0| 09 09 69 66 20 28 20 50 | 6c 61 79 65 72 20 21 3d |..if ( P|layer !=|
|000021f0| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 7b 0d 0a 09 09 | None ).|...{....|
|00002200| 09 69 66 20 28 21 62 54 | 75 74 6f 72 69 61 6c 47 |.if (!bT|utorialG|
|00002210| 61 6d 65 29 0d 0a 09 09 | 09 7b 0d 0a 09 09 09 09 |ame)....|.{......|
|00002220| 69 66 20 28 20 70 6c 61 | 79 65 72 20 3d 3d 20 42 |if ( pla|yer == B|
|00002230| 65 73 74 20 29 0d 0a 09 | 09 09 09 09 50 6c 61 79 |est )...|....Play|
|00002240| 65 72 2e 43 6c 69 65 6e | 74 50 6c 61 79 53 6f 75 |er.Clien|tPlaySou|
|00002250| 6e 64 28 73 6f 75 6e 64 | 27 41 6e 6e 6f 75 6e 63 |nd(sound|'Announc|
|00002260| 65 72 2e 57 69 6e 6e 65 | 72 27 2c 20 54 72 75 65 |er.Winne|r', True|
|00002270| 2c 20 74 72 75 65 29 3b | 0d 0a 09 09 09 09 65 6c |, true);|......el|
|00002280| 73 65 20 69 66 20 28 20 | 21 50 6c 61 79 65 72 2e |se if ( |!Player.|
|00002290| 49 73 41 28 27 53 70 65 | 63 74 61 74 6f 72 27 29 |IsA('Spe|ctator')|
|000022a0| 20 29 20 0d 0a 09 09 09 | 09 09 50 6c 61 79 65 72 | ) .....|..Player|
|000022b0| 2e 43 6c 69 65 6e 74 50 | 6c 61 79 53 6f 75 6e 64 |.ClientP|laySound|
|000022c0| 28 73 6f 75 6e 64 27 41 | 6e 6e 6f 75 6e 63 65 72 |(sound'A|nnouncer|
|000022d0| 2e 4c 6f 73 74 4d 61 74 | 63 68 27 2c 20 54 72 75 |.LostMat|ch', Tru|
|000022e0| 65 2c 20 74 72 75 65 29 | 3b 0d 0a 09 09 09 7d 0d |e, true)|;.....}.|
|000022f0| 0a 09 09 09 50 6c 61 79 | 65 72 2e 62 42 65 68 69 |....Play|er.bBehi|
|00002300| 6e 64 56 69 65 77 20 3d | 20 74 72 75 65 3b 0d 0a |ndView =| true;..|
|00002310| 09 09 09 69 66 20 28 20 | 50 6c 61 79 65 72 20 3d |...if ( |Player =|
|00002320| 3d 20 42 65 73 74 20 29 | 0d 0a 09 09 09 09 50 6c |= Best )|......Pl|
|00002330| 61 79 65 72 2e 56 69 65 | 77 54 61 72 67 65 74 20 |ayer.Vie|wTarget |
|00002340| 3d 20 4e 6f 6e 65 3b 0d | 0a 09 09 09 65 6c 73 65 |= None;.|....else|
|00002350| 0d 0a 09 09 09 09 50 6c | 61 79 65 72 2e 56 69 65 |......Pl|ayer.Vie|
|00002360| 77 54 61 72 67 65 74 20 | 3d 20 42 65 73 74 3b 0d |wTarget |= Best;.|
|00002370| 0a 09 09 09 50 6c 61 79 | 65 72 2e 43 6c 69 65 6e |....Play|er.Clien|
|00002380| 74 47 61 6d 65 45 6e 64 | 65 64 28 29 3b 0d 0a 09 |tGameEnd|ed();...|
|00002390| 09 7d 0d 0a 09 09 50 2e | 47 6f 74 6f 53 74 61 74 |.}....P.|GotoStat|
|000023a0| 65 28 27 47 61 6d 65 45 | 6e 64 65 64 27 29 3b 0d |e('GameE|nded');.|
|000023b0| 0a 09 7d 0d 0a 09 43 61 | 6c 63 45 6e 64 53 74 61 |..}...Ca|lcEndSta|
|000023c0| 74 73 28 29 3b 0d 0a 09 | 72 65 74 75 72 6e 20 74 |ts();...|return t|
|000023d0| 72 75 65 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |rue;..}.|...funct|
|000023e0| 69 6f 6e 20 4e 6f 74 69 | 66 79 53 70 72 65 65 28 |ion Noti|fySpree(|
|000023f0| 50 61 77 6e 20 4f 74 68 | 65 72 2c 20 69 6e 74 20 |Pawn Oth|er, int |
|00002400| 6e 75 6d 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |num)..{.|..local |
|00002410| 50 61 77 6e 20 50 3b 0d | 0a 0d 0a 09 69 66 20 28 |Pawn P;.|....if (|
|00002420| 20 6e 75 6d 20 3d 3d 20 | 35 20 29 0d 0a 09 09 6e | num == |5 )....n|
|00002430| 75 6d 20 3d 20 30 3b 0d | 0a 09 65 6c 73 65 20 69 |um = 0;.|..else i|
|00002440| 66 20 28 20 6e 75 6d 20 | 3d 3d 20 31 30 20 29 0d |f ( num |== 10 ).|
|00002450| 0a 09 09 6e 75 6d 20 3d | 20 31 3b 0d 0a 09 65 6c |...num =| 1;...el|
|00002460| 73 65 20 69 66 20 28 20 | 6e 75 6d 20 3d 3d 20 31 |se if ( |num == 1|
|00002470| 35 20 29 0d 0a 09 09 6e | 75 6d 20 3d 20 32 3b 0d |5 )....n|um = 2;.|
|00002480| 0a 09 65 6c 73 65 20 69 | 66 20 28 20 6e 75 6d 20 |..else i|f ( num |
|00002490| 3d 3d 20 32 30 20 29 0d | 0a 09 09 6e 75 6d 20 3d |== 20 ).|...num =|
|000024a0| 20 33 3b 0d 0a 09 65 6c | 73 65 20 69 66 20 28 20 | 3;...el|se if ( |
|000024b0| 6e 75 6d 20 3d 3d 20 32 | 35 20 29 0d 0a 09 09 6e |num == 2|5 )....n|
|000024c0| 75 6d 20 3d 20 34 3b 0d | 0a 09 65 6c 73 65 0d 0a |um = 4;.|..else..|
|000024d0| 09 09 72 65 74 75 72 6e | 3b 0d 0a 0d 0a 09 66 6f |..return|;.....fo|
|000024e0| 72 20 28 20 50 3d 4c 65 | 76 65 6c 2e 50 61 77 6e |r ( P=Le|vel.Pawn|
|000024f0| 4c 69 73 74 3b 20 50 21 | 3d 4e 6f 6e 65 3b 20 50 |List; P!|=None; P|
|00002500| 3d 50 2e 4e 65 78 74 50 | 61 77 6e 20 29 0d 0a 09 |=P.NextP|awn )...|
|00002510| 09 69 66 20 28 20 50 2e | 49 73 41 28 27 54 6f 75 |.if ( P.|IsA('Tou|
|00002520| 72 6e 61 6d 65 6e 74 50 | 6c 61 79 65 72 27 29 20 |rnamentP|layer') |
|00002530| 29 0d 0a 09 09 09 50 2e | 52 65 63 65 69 76 65 4c |).....P.|ReceiveL|
|00002540| 6f 63 61 6c 69 7a 65 64 | 4d 65 73 73 61 67 65 28 |ocalized|Message(|
|00002550| 20 63 6c 61 73 73 27 4b | 69 6c 6c 69 6e 67 53 70 | class'K|illingSp|
|00002560| 72 65 65 4d 65 73 73 61 | 67 65 27 2c 20 4e 75 6d |reeMessa|ge', Num|
|00002570| 2c 20 4f 74 68 65 72 2e | 50 6c 61 79 65 72 52 65 |, Other.|PlayerRe|
|00002580| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 20 29 3b |plicatio|nInfo );|
|00002590| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|000025a0| 45 6e 64 53 70 72 65 65 | 28 50 61 77 6e 20 4b 69 |EndSpree|(Pawn Ki|
|000025b0| 6c 6c 65 72 2c 20 50 61 | 77 6e 20 4f 74 68 65 72 |ller, Pa|wn Other|
|000025c0| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 50 61 77 |)..{...l|ocal Paw|
|000025d0| 6e 20 50 3b 0d 0a 0d 0a | 09 69 66 20 28 20 21 4f |n P;....|.if ( !O|
|000025e0| 74 68 65 72 2e 62 49 73 | 50 6c 61 79 65 72 20 29 |ther.bIs|Player )|
|000025f0| 0d 0a 09 09 72 65 74 75 | 72 6e 3b 0d 0a 09 66 6f |....retu|rn;...fo|
|00002600| 72 20 28 20 50 3d 4c 65 | 76 65 6c 2e 50 61 77 6e |r ( P=Le|vel.Pawn|
|00002610| 4c 69 73 74 3b 20 50 21 | 3d 4e 6f 6e 65 3b 20 50 |List; P!|=None; P|
|00002620| 3d 50 2e 4e 65 78 74 50 | 61 77 6e 20 29 0d 0a 09 |=P.NextP|awn )...|
|00002630| 09 69 66 20 28 20 50 2e | 49 73 41 28 27 54 6f 75 |.if ( P.|IsA('Tou|
|00002640| 72 6e 61 6d 65 6e 74 50 | 6c 61 79 65 72 27 29 20 |rnamentP|layer') |
|00002650| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 69 66 20 28 20 |)....{..|...if ( |
|00002660| 28 4b 69 6c 6c 65 72 20 | 3d 3d 20 4e 6f 6e 65 29 |(Killer |== None)|
|00002670| 20 7c 7c 20 21 4b 69 6c | 6c 65 72 2e 62 49 73 50 | || !Kil|ler.bIsP|
|00002680| 6c 61 79 65 72 20 29 0d | 0a 09 09 09 09 54 6f 75 |layer ).|.....Tou|
|00002690| 72 6e 61 6d 65 6e 74 50 | 6c 61 79 65 72 28 50 29 |rnamentP|layer(P)|
|000026a0| 2e 45 6e 64 53 70 72 65 | 65 28 4e 6f 6e 65 2c 20 |.EndSpre|e(None, |
|000026b0| 4f 74 68 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |Other.Pl|ayerRepl|
|000026c0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 29 3b 0d 0a 09 |icationI|nfo);...|
|000026d0| 09 09 65 6c 73 65 0d 0a | 09 09 09 09 54 6f 75 72 |..else..|....Tour|
|000026e0| 6e 61 6d 65 6e 74 50 6c | 61 79 65 72 28 50 29 2e |namentPl|ayer(P).|
|000026f0| 45 6e 64 53 70 72 65 65 | 28 4b 69 6c 6c 65 72 2e |EndSpree|(Killer.|
|00002700| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00002710| 6e 49 6e 66 6f 2c 20 4f | 74 68 65 72 2e 50 6c 61 |nInfo, O|ther.Pla|
|00002720| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00002730| 66 6f 29 3b 0d 0a 09 09 | 7d 0d 0a 7d 0d 0a 0d 0a |fo);....|}..}....|
|00002740| 66 75 6e 63 74 69 6f 6e | 20 53 63 6f 72 65 4b 69 |function| ScoreKi|
|00002750| 6c 6c 28 70 61 77 6e 20 | 4b 69 6c 6c 65 72 2c 20 |ll(pawn |Killer, |
|00002760| 70 61 77 6e 20 4f 74 68 | 65 72 29 0d 0a 7b 0d 0a |pawn Oth|er)..{..|
|00002770| 09 53 75 70 65 72 2e 53 | 63 6f 72 65 4b 69 6c 6c |.Super.S|coreKill|
|00002780| 28 4b 69 6c 6c 65 72 2c | 20 4f 74 68 65 72 29 3b |(Killer,| Other);|
|00002790| 0d 0a 0d 0a 09 69 66 20 | 28 20 62 41 6c 74 53 63 |.....if |( bAltSc|
|000027a0| 6f 72 69 6e 67 20 26 26 | 20 28 4b 69 6c 6c 65 72 |oring &&| (Killer|
|000027b0| 20 21 3d 20 4f 74 68 65 | 72 29 20 26 26 20 28 6b | != Othe|r) && (k|
|000027c0| 69 6c 6c 65 72 20 21 3d | 20 4e 6f 6e 65 29 20 29 |iller !=| None) )|
|000027d0| 0d 0a 09 09 4f 74 68 65 | 72 2e 50 6c 61 79 65 72 |....Othe|r.Player|
|000027e0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|000027f0| 53 63 6f 72 65 20 2d 3d | 20 31 3b 0d 0a 7d 0d 0a |Score -=| 1;..}..|
|00002800| 0d 0a 2f 2f 20 4d 6f 6e | 69 74 6f 72 20 6b 69 6c |..// Mon|itor kil|
|00002810| 6c 65 64 20 6d 65 73 73 | 61 67 65 73 20 66 6f 72 |led mess|ages for|
|00002820| 20 66 72 61 67 6c 69 6d | 69 74 0d 0a 66 75 6e 63 | fraglim|it..func|
|00002830| 74 69 6f 6e 20 4b 69 6c | 6c 65 64 28 70 61 77 6e |tion Kil|led(pawn|
|00002840| 20 6b 69 6c 6c 65 72 2c | 20 70 61 77 6e 20 4f 74 | killer,| pawn Ot|
|00002850| 68 65 72 2c 20 6e 61 6d | 65 20 64 61 6d 61 67 65 |her, nam|e damage|
|00002860| 54 79 70 65 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |Type)..{|...local|
|00002870| 20 69 6e 74 20 4e 65 78 | 74 54 61 75 6e 74 2c 20 | int Nex|tTaunt, |
|00002880| 69 3b 0d 0a 09 6c 6f 63 | 61 6c 20 62 6f 6f 6c 20 |i;...loc|al bool |
|00002890| 62 41 75 74 6f 54 61 75 | 6e 74 2c 20 62 45 6e 64 |bAutoTau|nt, bEnd|
|000028a0| 4f 76 65 72 54 69 6d 65 | 3b 0d 0a 09 6c 6f 63 61 |OverTime|;...loca|
|000028b0| 6c 20 50 61 77 6e 20 50 | 2c 20 42 65 73 74 3b 0d |l Pawn P|, Best;.|
|000028c0| 0a 0d 0a 09 69 66 20 28 | 20 28 64 61 6d 61 67 65 |....if (| (damage|
|000028d0| 54 79 70 65 20 3d 3d 20 | 27 44 65 63 61 70 69 74 |Type == |'Decapit|
|000028e0| 61 74 65 64 27 29 20 26 | 26 20 28 4b 69 6c 6c 65 |ated') &|& (Kille|
|000028f0| 72 20 21 3d 20 4f 74 68 | 65 72 29 20 26 26 20 28 |r != Oth|er) && (|
|00002900| 4b 69 6c 6c 65 72 20 21 | 3d 20 4e 6f 6e 65 29 20 |Killer !|= None) |
|00002910| 29 0d 0a 09 7b 0d 0a 09 | 09 69 66 20 28 4c 65 76 |)...{...|.if (Lev|
|00002920| 65 6c 2e 47 61 6d 65 2e | 4c 6f 63 61 6c 4c 6f 67 |el.Game.|LocalLog|
|00002930| 20 21 3d 20 4e 6f 6e 65 | 29 0d 0a 09 09 09 4c 65 | != None|).....Le|
|00002940| 76 65 6c 2e 47 61 6d 65 | 2e 4c 6f 63 61 6c 4c 6f |vel.Game|.LocalLo|
|00002950| 67 2e 4c 6f 67 53 70 65 | 63 69 61 6c 45 76 65 6e |g.LogSpe|cialEven|
|00002960| 74 28 22 68 65 61 64 73 | 68 6f 74 22 2c 20 4b 69 |t("heads|hot", Ki|
|00002970| 6c 6c 65 72 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |ller.Pla|yerRepli|
|00002980| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 50 6c 61 79 65 |cationIn|fo.Playe|
|00002990| 72 49 44 2c 20 4f 74 68 | 65 72 2e 50 6c 61 79 65 |rID, Oth|er.Playe|
|000029a0| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|000029b0| 2e 50 6c 61 79 65 72 49 | 44 29 3b 0d 0a 09 09 69 |.PlayerI|D);....i|
|000029c0| 66 20 28 4c 65 76 65 6c | 2e 47 61 6d 65 2e 57 6f |f (Level|.Game.Wo|
|000029d0| 72 6c 64 4c 6f 67 20 21 | 3d 20 4e 6f 6e 65 29 0d |rldLog !|= None).|
|000029e0| 0a 09 09 09 4c 65 76 65 | 6c 2e 47 61 6d 65 2e 57 |....Leve|l.Game.W|
|000029f0| 6f 72 6c 64 4c 6f 67 2e | 4c 6f 67 53 70 65 63 69 |orldLog.|LogSpeci|
|00002a00| 61 6c 45 76 65 6e 74 28 | 22 68 65 61 64 73 68 6f |alEvent(|"headsho|
|00002a10| 74 22 2c 20 4b 69 6c 6c | 65 72 2e 50 6c 61 79 65 |t", Kill|er.Playe|
|00002a20| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00002a30| 2e 50 6c 61 79 65 72 49 | 44 2c 20 4f 74 68 65 72 |.PlayerI|D, Other|
|00002a40| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00002a50| 6f 6e 49 6e 66 6f 2e 50 | 6c 61 79 65 72 49 44 29 |onInfo.P|layerID)|
|00002a60| 3b 0d 0a 09 09 4b 69 6c | 6c 65 72 2e 52 65 63 65 |;....Kil|ler.Rece|
|00002a70| 69 76 65 4c 6f 63 61 6c | 69 7a 65 64 4d 65 73 73 |iveLocal|izedMess|
|00002a80| 61 67 65 28 20 63 6c 61 | 73 73 27 44 65 63 61 70 |age( cla|ss'Decap|
|00002a90| 69 74 61 74 69 6f 6e 4d | 65 73 73 61 67 65 27 20 |itationM|essage' |
|00002aa0| 29 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 53 75 70 65 72 |);...}..|...Super|
|00002ab0| 2e 4b 69 6c 6c 65 64 28 | 6b 69 6c 6c 65 72 2c 20 |.Killed(|killer, |
|00002ac0| 4f 74 68 65 72 2c 20 64 | 61 6d 61 67 65 54 79 70 |Other, d|amageTyp|
|00002ad0| 65 29 3b 0d 0a 0d 0a 09 | 69 66 20 28 20 4f 74 68 |e);.....|if ( Oth|
|00002ae0| 65 72 2e 53 70 72 65 65 | 20 3e 20 34 20 29 0d 0a |er.Spree| > 4 )..|
|00002af0| 09 09 45 6e 64 53 70 72 | 65 65 28 4b 69 6c 6c 65 |..EndSpr|ee(Kille|
|00002b00| 72 2c 20 4f 74 68 65 72 | 29 3b 20 0d 0a 09 4f 74 |r, Other|); ...Ot|
|00002b10| 68 65 72 2e 53 70 72 65 | 65 20 3d 20 30 3b 0d 0a |her.Spre|e = 0;..|
|00002b20| 0d 0a 09 69 66 20 28 20 | 28 6b 69 6c 6c 65 72 20 |...if ( |(killer |
|00002b30| 3d 3d 20 4e 6f 6e 65 29 | 20 7c 7c 20 28 4f 74 68 |== None)| || (Oth|
|00002b40| 65 72 20 3d 3d 20 4e 6f | 6e 65 29 20 29 0d 0a 09 |er == No|ne) )...|
|00002b50| 09 72 65 74 75 72 6e 3b | 0d 0a 09 69 66 20 28 20 |.return;|...if ( |
|00002b60| 21 62 46 69 72 73 74 42 | 6c 6f 6f 64 20 29 0d 0a |!bFirstB|lood )..|
|00002b70| 09 09 69 66 20 28 20 4b | 69 6c 6c 65 72 2e 62 49 |..if ( K|iller.bI|
|00002b80| 73 50 6c 61 79 65 72 20 | 26 26 20 28 4b 69 6c 6c |sPlayer |&& (Kill|
|00002b90| 65 72 20 21 3d 20 4f 74 | 68 65 72 29 20 29 0d 0a |er != Ot|her) )..|
|00002ba0| 09 09 09 69 66 20 28 21 | 53 65 6c 66 2e 49 73 41 |...if (!|Self.IsA|
|00002bb0| 28 27 54 72 61 69 6e 69 | 6e 67 44 4d 27 29 29 0d |('Traini|ngDM')).|
|00002bc0| 0a 09 09 09 7b 0d 0a 09 | 09 09 09 62 46 69 72 73 |....{...|...bFirs|
|00002bd0| 74 42 6c 6f 6f 64 20 3d | 20 54 72 75 65 3b 0d 0a |tBlood =| True;..|
|00002be0| 09 09 09 09 42 72 6f 61 | 64 63 61 73 74 4c 6f 63 |....Broa|dcastLoc|
|00002bf0| 61 6c 69 7a 65 64 4d 65 | 73 73 61 67 65 28 20 63 |alizedMe|ssage( c|
|00002c00| 6c 61 73 73 27 46 69 72 | 73 74 42 6c 6f 6f 64 4d |lass'Fir|stBloodM|
|00002c10| 65 73 73 61 67 65 27 2c | 20 30 2c 20 4b 69 6c 6c |essage',| 0, Kill|
|00002c20| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00002c30| 74 69 6f 6e 49 6e 66 6f | 20 29 3b 0d 0a 09 09 09 |tionInfo| );.....|
|00002c40| 7d 0d 0a 0d 0a 09 69 66 | 20 28 20 21 62 54 65 61 |}.....if| ( !bTea|
|00002c50| 6d 47 61 6d 65 20 29 0d | 0a 09 7b 0d 0a 09 09 69 |mGame ).|..{....i|
|00002c60| 66 20 28 20 62 4f 76 65 | 72 54 69 6d 65 20 29 0d |f ( bOve|rTime ).|
|00002c70| 0a 09 09 7b 0d 0a 09 09 | 09 62 45 6e 64 4f 76 65 |...{....|.bEndOve|
|00002c80| 72 54 69 6d 65 20 3d 20 | 74 72 75 65 3b 0d 0a 09 |rTime = |true;...|
|00002c90| 09 09 2f 2f 63 68 65 63 | 6b 20 66 6f 72 20 63 6c |..//chec|k for cl|
|00002ca0| 65 61 72 20 77 69 6e 6e | 65 72 20 6e 6f 77 0d 0a |ear winn|er now..|
|00002cb0| 09 09 09 2f 2f 20 66 69 | 6e 64 20 69 6e 64 69 76 |...// fi|nd indiv|
|00002cc0| 69 64 75 61 6c 20 77 69 | 6e 6e 65 72 0d 0a 09 09 |idual wi|nner....|
|00002cd0| 09 66 6f 72 20 28 20 50 | 3d 4c 65 76 65 6c 2e 50 |.for ( P|=Level.P|
|00002ce0| 61 77 6e 4c 69 73 74 3b | 20 50 21 3d 4e 6f 6e 65 |awnList;| P!=None|
|00002cf0| 3b 20 50 3d 50 2e 6e 65 | 78 74 50 61 77 6e 20 29 |; P=P.ne|xtPawn )|
|00002d00| 0d 0a 09 09 09 09 69 66 | 20 28 20 50 2e 62 49 73 |......if| ( P.bIs|
|00002d10| 50 6c 61 79 65 72 20 26 | 26 20 28 28 42 65 73 74 |Player &|& ((Best|
|00002d20| 20 3d 3d 20 4e 6f 6e 65 | 29 20 7c 7c 20 28 50 2e | == None|) || (P.|
|00002d30| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00002d40| 6e 49 6e 66 6f 2e 53 63 | 6f 72 65 20 3e 20 42 65 |nInfo.Sc|ore > Be|
|00002d50| 73 74 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |st.Playe|rReplica|
|00002d60| 74 69 6f 6e 49 6e 66 6f | 2e 53 63 6f 72 65 29 29 |tionInfo|.Score))|
|00002d70| 20 29 0d 0a 09 09 09 09 | 09 42 65 73 74 20 3d 20 | )......|.Best = |
|00002d80| 50 3b 0d 0a 0d 0a 09 09 | 09 2f 2f 20 63 68 65 63 |P;......|.// chec|
|00002d90| 6b 20 66 6f 72 20 74 69 | 65 0d 0a 09 09 09 66 6f |k for ti|e.....fo|
|00002da0| 72 20 28 20 50 3d 4c 65 | 76 65 6c 2e 50 61 77 6e |r ( P=Le|vel.Pawn|
|00002db0| 4c 69 73 74 3b 20 50 21 | 3d 4e 6f 6e 65 3b 20 50 |List; P!|=None; P|
|00002dc0| 3d 50 2e 6e 65 78 74 50 | 61 77 6e 20 29 0d 0a 09 |=P.nextP|awn )...|
|00002dd0| 09 09 09 69 66 20 28 20 | 50 2e 62 49 73 50 6c 61 |...if ( |P.bIsPla|
|00002de0| 79 65 72 20 26 26 20 28 | 42 65 73 74 20 21 3d 20 |yer && (|Best != |
|00002df0| 50 29 20 26 26 20 28 50 | 2e 50 6c 61 79 65 72 52 |P) && (P|.PlayerR|
|00002e00| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 53 |eplicati|onInfo.S|
|00002e10| 63 6f 72 65 20 3d 3d 20 | 42 65 73 74 2e 50 6c 61 |core == |Best.Pla|
|00002e20| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00002e30| 66 6f 2e 53 63 6f 72 65 | 29 20 29 0d 0a 09 09 09 |fo.Score|) ).....|
|00002e40| 09 09 62 45 6e 64 4f 76 | 65 72 54 69 6d 65 20 3d |..bEndOv|erTime =|
|00002e50| 20 66 61 6c 73 65 3b 0d | 0a 0d 0a 09 09 09 69 66 | false;.|......if|
|00002e60| 20 28 20 62 45 6e 64 4f | 76 65 72 54 69 6d 65 20 | ( bEndO|verTime |
|00002e70| 29 0d 0a 09 09 09 7b 0d | 0a 09 09 09 09 69 66 20 |).....{.|.....if |
|00002e80| 28 20 28 46 72 61 67 4c | 69 6d 69 74 20 3e 20 30 |( (FragL|imit > 0|
|00002e90| 29 20 26 26 20 28 42 65 | 73 74 2e 50 6c 61 79 65 |) && (Be|st.Playe|
|00002ea0| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00002eb0| 2e 53 63 6f 72 65 20 3e | 3d 20 46 72 61 67 4c 69 |.Score >|= FragLi|
|00002ec0| 6d 69 74 29 20 29 0d 0a | 09 09 09 09 09 45 6e 64 |mit) )..|.....End|
|00002ed0| 47 61 6d 65 28 22 66 72 | 61 67 6c 69 6d 69 74 22 |Game("fr|aglimit"|
|00002ee0| 29 3b 0d 0a 09 09 09 09 | 65 6c 73 65 0d 0a 09 09 |);......|else....|
|00002ef0| 09 09 09 45 6e 64 47 61 | 6d 65 28 22 74 69 6d 65 |...EndGa|me("time|
|00002f00| 6c 69 6d 69 74 22 29 3b | 0d 0a 09 09 09 7d 0d 0a |limit");|.....}..|
|00002f10| 09 09 7d 0d 0a 09 09 65 | 6c 73 65 20 69 66 20 28 |..}....e|lse if (|
|00002f20| 20 28 46 72 61 67 4c 69 | 6d 69 74 20 3e 20 30 29 | (FragLi|mit > 0)|
|00002f30| 20 26 26 20 28 6b 69 6c | 6c 65 72 2e 50 6c 61 79 | && (kil|ler.Play|
|00002f40| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00002f50| 6f 2e 53 63 6f 72 65 20 | 3e 3d 20 46 72 61 67 4c |o.Score |>= FragL|
|00002f60| 69 6d 69 74 29 20 29 0d | 0a 09 09 09 45 6e 64 47 |imit) ).|....EndG|
|00002f70| 61 6d 65 28 22 66 72 61 | 67 6c 69 6d 69 74 22 29 |ame("fra|glimit")|
|00002f80| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 69 66 20 28 20 42 |;...}...|..if ( B|
|00002f90| 6f 74 43 6f 6e 66 69 67 | 2e 62 41 64 6a 75 73 74 |otConfig|.bAdjust|
|00002fa0| 53 6b 69 6c 6c 20 26 26 | 20 28 6b 69 6c 6c 65 72 |Skill &&| (killer|
|00002fb0| 2e 49 73 41 28 27 50 6c | 61 79 65 72 50 61 77 6e |.IsA('Pl|ayerPawn|
|00002fc0| 27 29 20 7c 7c 20 4f 74 | 68 65 72 2e 49 73 41 28 |') || Ot|her.IsA(|
|00002fd0| 27 50 6c 61 79 65 72 50 | 61 77 6e 27 29 29 20 29 |'PlayerP|awn')) )|
|00002fe0| 0d 0a 09 7b 0d 0a 09 09 | 69 66 20 28 20 6b 69 6c |...{....|if ( kil|
|00002ff0| 6c 65 72 2e 49 73 41 28 | 27 42 6f 74 27 29 20 29 |ler.IsA(|'Bot') )|
|00003000| 0d 0a 09 09 09 42 6f 74 | 43 6f 6e 66 69 67 2e 41 |.....Bot|Config.A|
|00003010| 64 6a 75 73 74 53 6b 69 | 6c 6c 28 42 6f 74 28 6b |djustSki|ll(Bot(k|
|00003020| 69 6c 6c 65 72 29 2c 74 | 72 75 65 29 3b 0d 0a 09 |iller),t|rue);...|
|00003030| 09 69 66 20 28 20 4f 74 | 68 65 72 2e 49 73 41 28 |.if ( Ot|her.IsA(|
|00003040| 27 42 6f 74 27 29 20 29 | 0d 0a 09 09 09 42 6f 74 |'Bot') )|.....Bot|
|00003050| 43 6f 6e 66 69 67 2e 41 | 64 6a 75 73 74 53 6b 69 |Config.A|djustSki|
|00003060| 6c 6c 28 42 6f 74 28 4f | 74 68 65 72 29 2c 66 61 |ll(Bot(O|ther),fa|
|00003070| 6c 73 65 29 3b 0d 0a 09 | 7d 0d 0a 09 09 0d 0a 09 |lse);...|}.......|
|00003080| 69 66 20 28 20 4f 74 68 | 65 72 2e 62 49 73 50 6c |if ( Oth|er.bIsPl|
|00003090| 61 79 65 72 20 26 26 20 | 28 4b 69 6c 6c 65 72 20 |ayer && |(Killer |
|000030a0| 21 3d 20 4e 6f 6e 65 29 | 20 26 26 20 4b 69 6c 6c |!= None)| && Kill|
|000030b0| 65 72 2e 62 49 73 50 6c | 61 79 65 72 20 26 26 20 |er.bIsPl|ayer && |
|000030c0| 28 4b 69 6c 6c 65 72 20 | 21 3d 20 4f 74 68 65 72 |(Killer |!= Other|
|000030d0| 29 20 0d 0a 09 09 26 26 | 20 28 21 62 54 65 61 6d |) ....&&| (!bTeam|
|000030e0| 47 61 6d 65 20 7c 7c 20 | 28 4f 74 68 65 72 2e 50 |Game || |(Other.P|
|000030f0| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00003100| 49 6e 66 6f 2e 54 65 61 | 6d 20 21 3d 20 4b 69 6c |Info.Tea|m != Kil|
|00003110| 6c 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |ler.Play|erReplic|
|00003120| 61 74 69 6f 6e 49 6e 66 | 6f 2e 54 65 61 6d 29 29 |ationInf|o.Team))|
|00003130| 20 29 0d 0a 09 7b 0d 0a | 09 09 4b 69 6c 6c 65 72 | )...{..|..Killer|
|00003140| 2e 53 70 72 65 65 2b 2b | 3b 0d 0a 09 09 69 66 20 |.Spree++|;....if |
|00003150| 28 20 4b 69 6c 6c 65 72 | 2e 53 70 72 65 65 20 3e |( Killer|.Spree >|
|00003160| 20 34 20 29 0d 0a 09 09 | 09 4e 6f 74 69 66 79 53 | 4 )....|.NotifyS|
|00003170| 70 72 65 65 28 4b 69 6c | 6c 65 72 2c 20 4b 69 6c |pree(Kil|ler, Kil|
|00003180| 6c 65 72 2e 53 70 72 65 | 65 29 3b 0d 0a 09 7d 20 |ler.Spre|e);...} |
|00003190| 0d 0a 0d 0a 09 62 41 75 | 74 6f 54 61 75 6e 74 20 |.....bAu|toTaunt |
|000031a0| 3d 20 28 28 54 6f 75 72 | 6e 61 6d 65 6e 74 50 6c |= ((Tour|namentPl|
|000031b0| 61 79 65 72 28 4b 69 6c | 6c 65 72 29 20 21 3d 20 |ayer(Kil|ler) != |
|000031c0| 4e 6f 6e 65 29 20 26 26 | 20 54 6f 75 72 6e 61 6d |None) &&| Tournam|
|000031d0| 65 6e 74 50 6c 61 79 65 | 72 28 4b 69 6c 6c 65 72 |entPlaye|r(Killer|
|000031e0| 29 2e 62 41 75 74 6f 54 | 61 75 6e 74 29 3b 0d 0a |).bAutoT|aunt);..|
|000031f0| 09 69 66 20 28 20 28 28 | 42 6f 74 28 4b 69 6c 6c |.if ( ((|Bot(Kill|
|00003200| 65 72 29 20 21 3d 20 4e | 6f 6e 65 29 20 7c 7c 20 |er) != N|one) || |
|00003210| 62 41 75 74 6f 54 61 75 | 6e 74 29 0d 0a 09 09 26 |bAutoTau|nt)....&|
|00003220| 26 20 28 4b 69 6c 6c 65 | 72 20 21 3d 20 4f 74 68 |& (Kille|r != Oth|
|00003230| 65 72 29 20 26 26 20 28 | 44 61 6d 61 67 65 54 79 |er) && (|DamageTy|
|00003240| 70 65 20 21 3d 20 27 67 | 69 62 62 65 64 27 29 20 |pe != 'g|ibbed') |
|00003250| 26 26 20 28 4b 69 6c 6c | 65 72 2e 48 65 61 6c 74 |&& (Kill|er.Healt|
|00003260| 68 20 3e 20 30 29 0d 0a | 09 09 26 26 20 28 4c 65 |h > 0)..|..&& (Le|
|00003270| 76 65 6c 2e 54 69 6d 65 | 53 65 63 6f 6e 64 73 20 |vel.Time|Seconds |
|00003280| 2d 20 4c 61 73 74 54 61 | 75 6e 74 54 69 6d 65 20 |- LastTa|untTime |
|00003290| 3e 20 33 29 20 29 0d 0a | 09 7b 0d 0a 09 09 4c 61 |> 3) )..|.{....La|
|000032a0| 73 74 54 61 75 6e 74 54 | 69 6d 65 20 3d 20 4c 65 |stTauntT|ime = Le|
|000032b0| 76 65 6c 2e 54 69 6d 65 | 53 65 63 6f 6e 64 73 3b |vel.Time|Seconds;|
|000032c0| 0d 0a 09 09 4e 65 78 74 | 54 61 75 6e 74 20 3d 20 |....Next|Taunt = |
|000032d0| 52 61 6e 64 28 63 6c 61 | 73 73 3c 43 68 61 6c 6c |Rand(cla|ss<Chall|
|000032e0| 65 6e 67 65 56 6f 69 63 | 65 50 61 63 6b 3e 28 4b |engeVoic|ePack>(K|
|000032f0| 69 6c 6c 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |iller.Pl|ayerRepl|
|00003300| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 56 6f 69 63 |icationI|nfo.Voic|
|00003310| 65 54 79 70 65 29 2e 44 | 65 66 61 75 6c 74 2e 4e |eType).D|efault.N|
|00003320| 75 6d 54 61 75 6e 74 73 | 29 3b 0d 0a 09 09 66 6f |umTaunts|);....fo|
|00003330| 72 20 28 20 69 3d 30 3b | 20 69 3c 34 3b 20 69 2b |r ( i=0;| i<4; i+|
|00003340| 2b 20 29 0d 0a 09 09 7b | 0d 0a 09 09 09 69 66 20 |+ )....{|.....if |
|00003350| 28 20 4e 65 78 74 54 61 | 75 6e 74 20 3d 3d 20 4c |( NextTa|unt == L|
|00003360| 61 73 74 54 61 75 6e 74 | 5b 69 5d 20 29 0d 0a 09 |astTaunt|[i] )...|
|00003370| 09 09 09 4e 65 78 74 54 | 61 75 6e 74 20 3d 20 52 |...NextT|aunt = R|
|00003380| 61 6e 64 28 63 6c 61 73 | 73 3c 43 68 61 6c 6c 65 |and(clas|s<Challe|
|00003390| 6e 67 65 56 6f 69 63 65 | 50 61 63 6b 3e 28 4b 69 |ngeVoice|Pack>(Ki|
|000033a0| 6c 6c 65 72 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |ller.Pla|yerRepli|
|000033b0| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 56 6f 69 63 65 |cationIn|fo.Voice|
|000033c0| 54 79 70 65 29 2e 44 65 | 66 61 75 6c 74 2e 4e 75 |Type).De|fault.Nu|
|000033d0| 6d 54 61 75 6e 74 73 29 | 3b 0d 0a 09 09 09 69 66 |mTaunts)|;.....if|
|000033e0| 20 28 20 69 20 3e 20 30 | 20 29 0d 0a 09 09 09 09 | ( i > 0| )......|
|000033f0| 4c 61 73 74 54 61 75 6e | 74 5b 69 2d 31 5d 20 3d |LastTaun|t[i-1] =|
|00003400| 20 4c 61 73 74 54 61 75 | 6e 74 5b 69 5d 3b 0d 0a | LastTau|nt[i];..|
|00003410| 09 09 7d 09 0d 0a 09 09 | 4c 61 73 74 54 61 75 6e |..}.....|LastTaun|
|00003420| 74 5b 33 5d 20 3d 20 4e | 65 78 74 54 61 75 6e 74 |t[3] = N|extTaunt|
|00003430| 3b 0d 0a 20 09 09 6b 69 | 6c 6c 65 72 2e 53 65 6e |;.. ..ki|ller.Sen|
|00003440| 64 47 6c 6f 62 61 6c 4d | 65 73 73 61 67 65 28 4e |dGlobalM|essage(N|
|00003450| 6f 6e 65 2c 20 27 41 55 | 54 4f 54 41 55 4e 54 27 |one, 'AU|TOTAUNT'|
|00003460| 2c 20 4e 65 78 74 54 61 | 75 6e 74 2c 20 35 29 3b |, NextTa|unt, 5);|
|00003470| 0d 0a 09 7d 0d 0a 09 69 | 66 20 28 20 62 52 61 74 |...}...i|f ( bRat|
|00003480| 65 64 47 61 6d 65 20 29 | 0d 0a 09 09 52 61 74 65 |edGame )|....Rate|
|00003490| 56 73 28 4f 74 68 65 72 | 2c 20 4b 69 6c 6c 65 72 |Vs(Other|, Killer|
|000034a0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 65 76 65 6e 74 20 70 |);..}...|.event p|
|000034b0| 6c 61 79 65 72 70 61 77 | 6e 20 4c 6f 67 69 6e 0d |layerpaw|n Login.|
|000034c0| 0a 28 0d 0a 09 73 74 72 | 69 6e 67 20 50 6f 72 74 |.(...str|ing Port|
|000034d0| 61 6c 2c 0d 0a 09 73 74 | 72 69 6e 67 20 4f 70 74 |al,...st|ring Opt|
|000034e0| 69 6f 6e 73 2c 0d 0a 09 | 6f 75 74 20 73 74 72 69 |ions,...|out stri|
|000034f0| 6e 67 20 45 72 72 6f 72 | 2c 0d 0a 09 63 6c 61 73 |ng Error|,...clas|
|00003500| 73 3c 70 6c 61 79 65 72 | 70 61 77 6e 3e 20 53 70 |s<player|pawn> Sp|
|00003510| 61 77 6e 43 6c 61 73 73 | 0d 0a 29 0d 0a 7b 0d 0a |awnClass|..)..{..|
|00003520| 09 6c 6f 63 61 6c 20 70 | 6c 61 79 65 72 70 61 77 |.local p|layerpaw|
|00003530| 6e 20 4e 65 77 50 6c 61 | 79 65 72 3b 0d 0a 0d 0a |n NewPla|yer;....|
|00003540| 09 69 66 20 28 20 28 4c | 65 76 65 6c 2e 4e 65 74 |.if ( (L|evel.Net|
|00003550| 4d 6f 64 65 20 21 3d 20 | 4e 4d 5f 53 74 61 6e 64 |Mode != |NM_Stand|
|00003560| 61 6c 6f 6e 65 29 20 26 | 26 20 28 4e 75 6d 43 6f |alone) &|& (NumCo|
|00003570| 6d 6d 61 6e 64 65 72 73 | 20 3e 3d 20 4d 61 78 43 |mmanders| >= MaxC|
|00003580| 6f 6d 6d 61 6e 64 65 72 | 73 29 20 26 26 20 43 6c |ommander|s) && Cl|
|00003590| 61 73 73 49 73 43 68 69 | 6c 64 4f 66 28 53 70 61 |assIsChi|ldOf(Spa|
|000035a0| 77 6e 43 6c 61 73 73 2c | 20 63 6c 61 73 73 27 43 |wnClass,| class'C|
|000035b0| 6f 6d 6d 61 6e 64 65 72 | 27 29 20 29 0d 0a 09 7b |ommander|') )...{|
|000035c0| 0d 0a 09 09 45 72 72 6f | 72 3d 22 4d 61 78 20 63 |....Erro|r="Max c|
|000035d0| 6f 6d 6d 61 6e 64 65 72 | 73 20 22 24 4d 61 78 43 |ommander|s "$MaxC|
|000035e0| 6f 6d 6d 61 6e 64 65 72 | 73 24 22 20 65 78 63 65 |ommander|s$" exce|
|000035f0| 65 64 65 64 22 3b 0d 0a | 09 09 72 65 74 75 72 6e |eded";..|..return|
|00003600| 20 4e 6f 6e 65 3b 0d 0a | 09 7d 0d 0a 0d 0a 09 4e | None;..|.}.....N|
|00003610| 65 77 50 6c 61 79 65 72 | 20 3d 20 53 75 70 65 72 |ewPlayer| = Super|
|00003620| 2e 4c 6f 67 69 6e 28 50 | 6f 72 74 61 6c 2c 20 4f |.Login(P|ortal, O|
|00003630| 70 74 69 6f 6e 73 2c 20 | 45 72 72 6f 72 2c 20 53 |ptions, |Error, S|
|00003640| 70 61 77 6e 43 6c 61 73 | 73 29 3b 0d 0a 0d 0a 09 |pawnClas|s);.....|
|00003650| 69 66 20 28 20 4e 65 77 | 50 6c 61 79 65 72 20 21 |if ( New|Player !|
|00003660| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 7b 0d 0a 09 09 |= None )|...{....|
|00003670| 69 66 20 28 20 62 52 61 | 74 65 64 47 61 6d 65 20 |if ( bRa|tedGame |
|00003680| 29 0d 0a 09 09 09 4e 65 | 77 50 6c 61 79 65 72 2e |).....Ne|wPlayer.|
|00003690| 41 69 72 43 6f 6e 74 72 | 6f 6c 20 3d 20 30 2e 33 |AirContr|ol = 0.3|
|000036a0| 35 3b 0d 0a 09 09 65 6c | 73 65 0d 0a 09 09 09 4e |5;....el|se.....N|
|000036b0| 65 77 50 6c 61 79 65 72 | 2e 41 69 72 43 6f 6e 74 |ewPlayer|.AirCont|
|000036c0| 72 6f 6c 20 3d 20 41 69 | 72 43 6f 6e 74 72 6f 6c |rol = Ai|rControl|
|000036d0| 3b 0d 0a 09 09 69 66 20 | 28 20 4c 65 66 74 28 4e |;....if |( Left(N|
|000036e0| 65 77 50 6c 61 79 65 72 | 2e 50 6c 61 79 65 72 52 |ewPlayer|.PlayerR|
|000036f0| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 50 |eplicati|onInfo.P|
|00003700| 6c 61 79 65 72 4e 61 6d | 65 2c 20 36 29 20 3d 3d |layerNam|e, 6) ==|
|00003710| 20 44 65 66 61 75 6c 74 | 50 6c 61 79 65 72 4e 61 | Default|PlayerNa|
|00003720| 6d 65 20 29 0d 0a 09 09 | 09 43 68 61 6e 67 65 4e |me )....|.ChangeN|
|00003730| 61 6d 65 28 20 4e 65 77 | 50 6c 61 79 65 72 2c 20 |ame( New|Player, |
|00003740| 28 44 65 66 61 75 6c 74 | 50 6c 61 79 65 72 4e 61 |(Default|PlayerNa|
|00003750| 6d 65 24 4e 75 6d 50 6c | 61 79 65 72 73 29 2c 20 |me$NumPl|ayers), |
|00003760| 66 61 6c 73 65 20 29 3b | 0d 0a 09 09 4e 65 77 50 |false );|....NewP|
|00003770| 6c 61 79 65 72 2e 62 41 | 75 74 6f 41 63 74 69 76 |layer.bA|utoActiv|
|00003780| 61 74 65 20 3d 20 74 72 | 75 65 3b 0d 0a 09 09 69 |ate = tr|ue;....i|
|00003790| 66 20 28 20 28 62 47 61 | 6d 65 45 6e 64 65 64 20 |f ( (bGa|meEnded |
|000037a0| 7c 7c 20 28 62 52 65 71 | 75 69 72 65 52 65 61 64 ||| (bReq|uireRead|
|000037b0| 79 20 26 26 20 28 43 6f | 75 6e 74 44 6f 77 6e 20 |y && (Co|untDown |
|000037c0| 3e 20 30 29 29 29 20 26 | 26 20 21 4e 65 77 50 6c |> 0))) &|& !NewPl|
|000037d0| 61 79 65 72 2e 49 73 41 | 28 27 53 70 65 63 74 61 |ayer.IsA|('Specta|
|000037e0| 74 6f 72 27 29 20 29 0d | 0a 09 09 09 4e 65 77 50 |tor') ).|....NewP|
|000037f0| 6c 61 79 65 72 2e 50 6c | 61 79 65 72 52 65 73 74 |layer.Pl|ayerRest|
|00003800| 61 72 74 53 74 61 74 65 | 20 3d 20 27 50 6c 61 79 |artState| = 'Play|
|00003810| 65 72 57 61 69 74 69 6e | 67 27 3b 0d 0a 09 09 65 |erWaitin|g';....e|
|00003820| 6c 73 65 0d 0a 09 09 09 | 4e 65 77 50 6c 61 79 65 |lse.....|NewPlaye|
|00003830| 72 2e 50 6c 61 79 65 72 | 52 65 73 74 61 72 74 53 |r.Player|RestartS|
|00003840| 74 61 74 65 20 3d 20 4e | 65 77 50 6c 61 79 65 72 |tate = N|ewPlayer|
|00003850| 2e 44 65 66 61 75 6c 74 | 2e 50 6c 61 79 65 72 52 |.Default|.PlayerR|
|00003860| 65 73 74 61 72 74 53 74 | 61 74 65 3b 0d 0a 0d 0a |estartSt|ate;....|
|00003870| 09 09 69 66 20 28 20 4e | 65 77 50 6c 61 79 65 72 |..if ( N|ewPlayer|
|00003880| 2e 49 73 41 28 27 54 6f | 75 72 6e 61 6d 65 6e 74 |.IsA('To|urnament|
|00003890| 50 6c 61 79 65 72 27 29 | 20 29 0d 0a 09 09 7b 0d |Player')| )....{.|
|000038a0| 0a 09 09 09 54 6f 75 72 | 6e 61 6d 65 6e 74 50 6c |....Tour|namentPl|
|000038b0| 61 79 65 72 28 4e 65 77 | 50 6c 61 79 65 72 29 2e |ayer(New|Player).|
|000038c0| 53 74 61 72 74 53 70 6f | 74 20 3d 20 4c 61 73 74 |StartSpo|t = Last|
|000038d0| 53 74 61 72 74 53 70 6f | 74 3b 0d 0a 09 09 09 69 |StartSpo|t;.....i|
|000038e0| 66 20 28 20 4e 65 77 50 | 6c 61 79 65 72 2e 49 73 |f ( NewP|layer.Is|
|000038f0| 41 28 27 43 6f 6d 6d 61 | 6e 64 65 72 27 29 20 29 |A('Comma|nder') )|
|00003900| 0d 0a 09 09 09 09 4e 75 | 6d 43 6f 6d 6d 61 6e 64 |......Nu|mCommand|
|00003910| 65 72 73 2b 2b 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |ers++;..|..}...}.|
|00003920| 0a 09 72 65 74 75 72 6e | 20 4e 65 77 50 6c 61 79 |..return| NewPlay|
|00003930| 65 72 3b 0d 0a 7d 0d 0a | 0d 0a 65 76 65 6e 74 20 |er;..}..|..event |
|00003940| 50 6f 73 74 4c 6f 67 69 | 6e 28 20 70 6c 61 79 65 |PostLogi|n( playe|
|00003950| 72 70 61 77 6e 20 4e 65 | 77 50 6c 61 79 65 72 20 |rpawn Ne|wPlayer |
|00003960| 29 0d 0a 7b 0d 0a 09 53 | 75 70 65 72 2e 50 6f 73 |)..{...S|uper.Pos|
|00003970| 74 4c 6f 67 69 6e 28 4e | 65 77 50 6c 61 79 65 72 |tLogin(N|ewPlayer|
|00003980| 29 3b 0d 0a 09 69 66 20 | 28 20 4c 65 76 65 6c 2e |);...if |( Level.|
|00003990| 4e 65 74 4d 6f 64 65 20 | 3d 3d 20 4e 4d 5f 53 74 |NetMode |== NM_St|
|000039a0| 61 6e 64 61 6c 6f 6e 65 | 20 29 0d 0a 09 7b 0d 0a |andalone| )...{..|
|000039b0| 09 09 77 68 69 6c 65 20 | 28 20 28 52 65 6d 61 69 |..while |( (Remai|
|000039c0| 6e 69 6e 67 42 6f 74 73 | 20 3e 20 30 29 20 26 26 |ningBots| > 0) &&|
|000039d0| 20 41 64 64 42 6f 74 28 | 29 20 29 0d 0a 09 09 09 | AddBot(|) ).....|
|000039e0| 52 65 6d 61 69 6e 69 6e | 67 42 6f 74 73 2d 2d 3b |Remainin|gBots--;|
|000039f0| 0d 0a 09 7d 0d 0a 09 65 | 6c 73 65 0d 0a 09 09 52 |...}...e|lse....R|
|00003a00| 65 6d 61 69 6e 69 6e 67 | 42 6f 74 73 20 3d 20 30 |emaining|Bots = 0|
|00003a10| 3b 0d 0a 0d 0a 09 69 66 | 20 28 20 21 62 52 61 74 |;.....if| ( !bRat|
|00003a20| 65 64 47 61 6d 65 20 29 | 0d 0a 09 7b 0d 0a 09 09 |edGame )|...{....|
|00003a30| 50 6c 61 79 53 74 61 72 | 74 55 70 4d 65 73 73 61 |PlayStar|tUpMessa|
|00003a40| 67 65 28 4e 65 77 50 6c | 61 79 65 72 29 3b 0d 0a |ge(NewPl|ayer);..|
|00003a50| 09 09 4e 65 77 50 6c 61 | 79 65 72 2e 53 65 74 50 |..NewPla|yer.SetP|
|00003a60| 72 6f 67 72 65 73 73 54 | 69 6d 65 28 36 29 3b 0d |rogressT|ime(6);.|
|00003a70| 0a 09 7d 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |..}..}..|..functi|
|00003a80| 6f 6e 20 69 6e 74 20 52 | 65 64 75 63 65 44 61 6d |on int R|educeDam|
|00003a90| 61 67 65 28 69 6e 74 20 | 44 61 6d 61 67 65 2c 20 |age(int |Damage, |
|00003aa0| 6e 61 6d 65 20 44 61 6d | 61 67 65 54 79 70 65 2c |name Dam|ageType,|
|00003ab0| 20 70 61 77 6e 20 69 6e | 6a 75 72 65 64 2c 20 70 | pawn in|jured, p|
|00003ac0| 61 77 6e 20 69 6e 73 74 | 69 67 61 74 65 64 42 79 |awn inst|igatedBy|
|00003ad0| 29 0d 0a 7b 0d 0a 09 69 | 66 20 28 69 6e 6a 75 72 |)..{...i|f (injur|
|00003ae0| 65 64 2e 52 65 67 69 6f | 6e 2e 5a 6f 6e 65 2e 62 |ed.Regio|n.Zone.b|
|00003af0| 4e 65 75 74 72 61 6c 5a | 6f 6e 65 29 0d 0a 09 09 |NeutralZ|one)....|
|00003b00| 72 65 74 75 72 6e 20 30 | 3b 0d 0a 0d 0a 09 69 66 |return 0|;.....if|
|00003b10| 20 28 20 69 6e 73 74 69 | 67 61 74 65 64 42 79 20 | ( insti|gatedBy |
|00003b20| 3d 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 72 65 74 75 |== None)|....retu|
|00003b30| 72 6e 20 44 61 6d 61 67 | 65 3b 0d 0a 0d 0a 09 69 |rn Damag|e;.....i|
|00003b40| 66 20 28 20 62 48 61 72 | 64 43 6f 72 65 4d 6f 64 |f ( bHar|dCoreMod|
|00003b50| 65 20 29 0d 0a 09 09 44 | 61 6d 61 67 65 20 2a 3d |e )....D|amage *=|
|00003b60| 20 31 2e 35 3b 0d 0a 09 | 69 66 20 28 20 62 4e 6f | 1.5;...|if ( bNo|
|00003b70| 76 69 63 65 4d 6f 64 65 | 20 26 26 20 21 62 54 68 |viceMode| && !bTh|
|00003b80| 72 65 65 50 6c 75 73 20 | 29 0d 0a 09 7b 0d 0a 09 |reePlus |)...{...|
|00003b90| 09 69 66 20 28 20 69 6e | 73 74 69 67 61 74 65 64 |.if ( in|stigated|
|00003ba0| 42 79 2e 62 49 73 50 6c | 61 79 65 72 20 26 26 20 |By.bIsPl|ayer && |
|00003bb0| 28 69 6e 6a 75 72 65 64 | 20 3d 3d 20 69 6e 73 74 |(injured| == inst|
|00003bc0| 69 67 61 74 65 64 62 79 | 29 20 26 26 20 28 4c 65 |igatedby|) && (Le|
|00003bd0| 76 65 6c 2e 4e 65 74 4d | 6f 64 65 20 3d 3d 20 4e |vel.NetM|ode == N|
|00003be0| 4d 5f 53 74 61 6e 64 61 | 6c 6f 6e 65 29 20 29 0d |M_Standa|lone) ).|
|00003bf0| 0a 09 09 09 44 61 6d 61 | 67 65 20 2a 3d 20 30 2e |....Dama|ge *= 0.|
|00003c00| 35 3b 0d 0a 0d 0a 09 09 | 2f 2f 73 6b 69 6c 6c 20 |5;......|//skill |
|00003c10| 6c 65 76 65 6c 20 6d 6f | 64 69 66 69 63 61 74 69 |level mo|dificati|
|00003c20| 6f 6e 0d 0a 09 09 69 66 | 20 28 20 69 6e 73 74 69 |on....if| ( insti|
|00003c30| 67 61 74 65 64 42 79 2e | 49 73 41 28 27 42 6f 74 |gatedBy.|IsA('Bot|
|00003c40| 27 29 20 26 26 20 69 6e | 6a 75 72 65 64 2e 49 73 |') && in|jured.Is|
|00003c50| 41 28 27 50 6c 61 79 65 | 72 50 61 77 6e 27 29 20 |A('Playe|rPawn') |
|00003c60| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 69 66 20 28 20 |)....{..|...if ( |
|00003c70| 28 28 69 6e 73 74 69 67 | 61 74 65 64 42 79 2e 57 |((instig|atedBy.W|
|00003c80| 65 61 70 6f 6e 20 21 3d | 20 4e 6f 6e 65 29 20 26 |eapon !=| None) &|
|00003c90| 26 20 69 6e 73 74 69 67 | 61 74 65 64 42 79 2e 57 |& instig|atedBy.W|
|00003ca0| 65 61 70 6f 6e 2e 62 4d | 65 6c 65 65 57 65 61 70 |eapon.bM|eleeWeap|
|00003cb0| 6f 6e 29 20 0d 0a 09 09 | 09 09 7c 7c 20 28 28 69 |on) ....|..|| ((i|
|00003cc0| 6e 6a 75 72 65 64 2e 57 | 65 61 70 6f 6e 20 21 3d |njured.W|eapon !=|
|00003cd0| 20 4e 6f 6e 65 29 20 26 | 26 20 69 6e 6a 75 72 65 | None) &|& injure|
|00003ce0| 64 2e 57 65 61 70 6f 6e | 2e 62 4d 65 6c 65 65 57 |d.Weapon|.bMeleeW|
|00003cf0| 65 61 70 6f 6e 20 26 26 | 20 28 56 53 69 7a 65 28 |eapon &&| (VSize(|
|00003d00| 69 6e 6a 75 72 65 64 2e | 6c 6f 63 61 74 69 6f 6e |injured.|location|
|00003d10| 20 2d 20 69 6e 73 74 69 | 67 61 74 65 64 42 79 2e | - insti|gatedBy.|
|00003d20| 4c 6f 63 61 74 69 6f 6e | 29 20 3c 20 36 30 30 29 |Location|) < 600)|
|00003d30| 29 20 29 0d 0a 09 09 09 | 09 44 61 6d 61 67 65 20 |) ).....|.Damage |
|00003d40| 3d 20 44 61 6d 61 67 65 | 20 2a 20 28 30 2e 37 36 |= Damage| * (0.76|
|00003d50| 20 2b 20 30 2e 30 38 20 | 2a 20 69 6e 73 74 69 67 | + 0.08 |* instig|
|00003d60| 61 74 65 64 42 79 2e 73 | 6b 69 6c 6c 29 3b 0d 0a |atedBy.s|kill);..|
|00003d70| 09 09 09 65 6c 73 65 0d | 0a 09 09 09 09 44 61 6d |...else.|.....Dam|
|00003d80| 61 67 65 20 3d 20 44 61 | 6d 61 67 65 20 2a 20 28 |age = Da|mage * (|
|00003d90| 30 2e 32 35 20 2b 20 30 | 2e 31 35 20 2a 20 69 6e |0.25 + 0|.15 * in|
|00003da0| 73 74 69 67 61 74 65 64 | 42 79 2e 73 6b 69 6c 6c |stigated|By.skill|
|00003db0| 29 3b 0d 0a 09 09 7d 0d | 0a 09 7d 0d 0a 09 72 65 |);....}.|..}...re|
|00003dc0| 74 75 72 6e 20 28 44 61 | 6d 61 67 65 20 2a 20 69 |turn (Da|mage * i|
|00003dd0| 6e 73 74 69 67 61 74 65 | 64 42 79 2e 44 61 6d 61 |nstigate|dBy.Dama|
|00003de0| 67 65 53 63 61 6c 69 6e | 67 29 3b 0d 0a 7d 0d 0a |geScalin|g);..}..|
|00003df0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 53 74 61 72 74 |..functi|on Start|
|00003e00| 4d 61 74 63 68 28 29 0d | 0a 7b 09 0d 0a 09 6c 6f |Match().|.{....lo|
|00003e10| 63 61 6c 20 50 61 77 6e | 20 50 3b 0d 0a 09 6c 6f |cal Pawn| P;...lo|
|00003e20| 63 61 6c 20 54 69 6d 65 | 64 54 72 69 67 67 65 72 |cal Time|dTrigger|
|00003e30| 20 54 3b 0d 0a 0d 0a 09 | 69 66 20 28 4c 6f 63 61 | T;.....|if (Loca|
|00003e40| 6c 4c 6f 67 20 21 3d 20 | 4e 6f 6e 65 29 0d 0a 09 |lLog != |None)...|
|00003e50| 09 4c 6f 63 61 6c 4c 6f | 67 2e 4c 6f 67 47 61 6d |.LocalLo|g.LogGam|
|00003e60| 65 53 74 61 72 74 28 29 | 3b 0d 0a 09 69 66 20 28 |eStart()|;...if (|
|00003e70| 57 6f 72 6c 64 4c 6f 67 | 20 21 3d 20 4e 6f 6e 65 |WorldLog| != None|
|00003e80| 29 0d 0a 09 09 57 6f 72 | 6c 64 4c 6f 67 2e 4c 6f |)....Wor|ldLog.Lo|
|00003e90| 67 47 61 6d 65 53 74 61 | 72 74 28 29 3b 0d 0a 0d |gGameSta|rt();...|
|00003ea0| 0a 09 46 6f 72 45 61 63 | 68 20 41 6c 6c 41 63 74 |..ForEac|h AllAct|
|00003eb0| 6f 72 73 28 63 6c 61 73 | 73 27 54 69 6d 65 64 54 |ors(clas|s'TimedT|
|00003ec0| 72 69 67 67 65 72 27 2c | 20 54 29 0d 0a 09 09 54 |rigger',| T)....T|
|00003ed0| 2e 53 65 74 54 69 6d 65 | 72 28 54 2e 44 65 6c 61 |.SetTime|r(T.Dela|
|00003ee0| 79 53 65 63 6f 6e 64 73 | 2c 20 54 2e 62 52 65 70 |ySeconds|, T.bRep|
|00003ef0| 65 61 74 69 6e 67 29 3b | 0d 0a 09 69 66 20 28 20 |eating);|...if ( |
|00003f00| 4c 65 76 65 6c 2e 4e 65 | 74 4d 6f 64 65 20 21 3d |Level.Ne|tMode !=|
|00003f10| 20 4e 4d 5f 53 74 61 6e | 64 61 6c 6f 6e 65 20 29 | NM_Stan|dalone )|
|00003f20| 0d 0a 09 09 52 65 6d 61 | 69 6e 69 6e 67 42 6f 74 |....Rema|iningBot|
|00003f30| 73 20 3d 20 30 3b 0d 0a | 09 47 61 6d 65 52 65 70 |s = 0;..|.GameRep|
|00003f40| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2e 52 65 6d |lication|Info.Rem|
|00003f50| 61 69 6e 69 6e 67 4d 69 | 6e 75 74 65 20 3d 20 52 |ainingMi|nute = R|
|00003f60| 65 6d 61 69 6e 69 6e 67 | 54 69 6d 65 3b 0d 0a 09 |emaining|Time;...|
|00003f70| 62 53 74 61 72 74 4d 61 | 74 63 68 20 3d 20 74 72 |bStartMa|tch = tr|
|00003f80| 75 65 3b 0d 0a 0d 0a 09 | 2f 2f 20 73 74 61 72 74 |ue;.....|// start|
|00003f90| 20 70 6c 61 79 65 72 73 | 20 66 69 72 73 74 20 28 | players| first (|
|00003fa0| 69 6e 20 74 68 65 69 72 | 20 63 75 72 72 65 6e 74 |in their| current|
|00003fb0| 20 73 74 61 72 74 73 70 | 6f 74 73 29 0d 0a 09 66 | startsp|ots)...f|
|00003fc0| 6f 72 20 28 20 50 20 3d | 20 4c 65 76 65 6c 2e 50 |or ( P =| Level.P|
|00003fd0| 61 77 6e 4c 69 73 74 3b | 20 50 21 3d 4e 6f 6e 65 |awnList;| P!=None|
|00003fe0| 3b 20 50 3d 50 2e 6e 65 | 78 74 50 61 77 6e 20 29 |; P=P.ne|xtPawn )|
|00003ff0| 0d 0a 09 09 69 66 20 28 | 20 50 2e 62 49 73 50 6c |....if (| P.bIsPl|
|00004000| 61 79 65 72 20 26 26 20 | 50 2e 49 73 41 28 27 50 |ayer && |P.IsA('P|
|00004010| 6c 61 79 65 72 50 61 77 | 6e 27 29 20 29 0d 0a 09 |layerPaw|n') )...|
|00004020| 09 7b 0d 0a 09 09 09 69 | 66 20 28 20 62 47 61 6d |.{.....i|f ( bGam|
|00004030| 65 45 6e 64 65 64 20 29 | 20 72 65 74 75 72 6e 3b |eEnded )| return;|
|00004040| 20 2f 2f 20 74 65 6c 65 | 66 72 61 67 20 65 6e 64 | // tele|frag end|
|00004050| 65 64 20 74 68 65 20 67 | 61 6d 65 20 77 69 74 68 |ed the g|ame with|
|00004060| 20 72 69 64 69 63 75 6c | 6f 75 73 20 66 72 61 67 | ridicul|ous frag|
|00004070| 20 6c 69 6d 69 74 0d 0a | 09 09 09 65 6c 73 65 20 | limit..|...else |
|00004080| 69 66 20 28 20 21 50 2e | 49 73 41 28 27 53 70 65 |if ( !P.|IsA('Spe|
|00004090| 63 74 61 74 6f 72 27 29 | 20 20 29 0d 0a 09 09 09 |ctator')| ).....|
|000040a0| 7b 0d 0a 09 09 09 09 50 | 2e 50 6c 61 79 65 72 52 |{......P|.PlayerR|
|000040b0| 65 73 74 61 72 74 53 74 | 61 74 65 20 3d 20 50 2e |estartSt|ate = P.|
|000040c0| 44 65 66 61 75 6c 74 2e | 50 6c 61 79 65 72 52 65 |Default.|PlayerRe|
|000040d0| 73 74 61 72 74 53 74 61 | 74 65 3b 0d 0a 09 09 09 |startSta|te;.....|
|000040e0| 09 50 2e 47 6f 74 6f 53 | 74 61 74 65 28 50 2e 44 |.P.GotoS|tate(P.D|
|000040f0| 65 66 61 75 6c 74 2e 50 | 6c 61 79 65 72 52 65 73 |efault.P|layerRes|
|00004100| 74 61 72 74 53 74 61 74 | 65 29 3b 0d 0a 09 09 09 |tartStat|e);.....|
|00004110| 09 69 66 20 28 20 21 50 | 2e 49 73 41 28 27 43 6f |.if ( !P|.IsA('Co|
|00004120| 6d 6d 61 6e 64 65 72 27 | 29 20 29 0d 0a 09 09 09 |mmander'|) ).....|
|00004130| 09 09 52 65 73 74 61 72 | 74 50 6c 61 79 65 72 28 |..Restar|tPlayer(|
|00004140| 50 29 3b 0d 0a 09 09 09 | 7d 0d 0a 09 09 09 53 65 |P);.....|}.....Se|
|00004150| 6e 64 53 74 61 72 74 4d | 65 73 73 61 67 65 28 50 |ndStartM|essage(P|
|00004160| 6c 61 79 65 72 50 61 77 | 6e 28 50 29 29 3b 0d 0a |layerPaw|n(P));..|
|00004170| 09 09 7d 0d 0a 0d 0a 0d | 0a 09 66 6f 72 20 28 20 |..}.....|..for ( |
|00004180| 50 20 3d 20 4c 65 76 65 | 6c 2e 50 61 77 6e 4c 69 |P = Leve|l.PawnLi|
|00004190| 73 74 3b 20 50 21 3d 4e | 6f 6e 65 3b 20 50 3d 50 |st; P!=N|one; P=P|
|000041a0| 2e 6e 65 78 74 50 61 77 | 6e 20 29 0d 0a 09 09 69 |.nextPaw|n )....i|
|000041b0| 66 20 28 20 50 2e 62 49 | 73 50 6c 61 79 65 72 20 |f ( P.bI|sPlayer |
|000041c0| 26 26 20 21 50 2e 49 73 | 41 28 27 50 6c 61 79 65 |&& !P.Is|A('Playe|
|000041d0| 72 50 61 77 6e 27 29 20 | 29 0d 0a 09 09 7b 0d 0a |rPawn') |)....{..|
|000041e0| 09 09 09 50 2e 52 65 73 | 74 61 72 74 50 6c 61 79 |...P.Res|tartPlay|
|000041f0| 65 72 28 29 3b 0d 0a 09 | 09 09 69 66 20 28 20 50 |er();...|..if ( P|
|00004200| 2e 49 73 41 28 27 42 6f | 74 27 29 20 29 0d 0a 09 |.IsA('Bo|t') )...|
|00004210| 09 09 09 42 6f 74 28 50 | 29 2e 53 74 61 72 74 4d |...Bot(P|).StartM|
|00004220| 61 74 63 68 28 29 3b 0d | 0a 09 09 7d 0d 0a 09 62 |atch();.|...}...b|
|00004230| 53 74 61 72 74 4d 61 74 | 63 68 20 3d 20 66 61 6c |StartMat|ch = fal|
|00004240| 73 65 3b 0d 0a 7d 0d 0a | 0d 0a 0d 0a 66 75 6e 63 |se;..}..|....func|
|00004250| 74 69 6f 6e 20 54 69 6d | 65 72 28 29 0d 0a 7b 0d |tion Tim|er()..{.|
|00004260| 0a 09 6c 6f 63 61 6c 20 | 50 61 77 6e 20 50 3b 0d |..local |Pawn P;.|
|00004270| 0a 09 6c 6f 63 61 6c 20 | 62 6f 6f 6c 20 62 52 65 |..local |bool bRe|
|00004280| 61 64 79 3b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |ady;...l|ocal int|
|00004290| 20 4d 3b 0d 0a 0d 0a 09 | 53 75 70 65 72 2e 54 69 | M;.....|Super.Ti|
|000042a0| 6d 65 72 28 29 3b 0d 0a | 0d 0a 09 69 66 20 28 20 |mer();..|...if ( |
|000042b0| 62 4e 65 74 52 65 61 64 | 79 20 29 0d 0a 09 7b 0d |bNetRead|y )...{.|
|000042c0| 0a 09 09 69 66 20 28 20 | 4e 75 6d 50 6c 61 79 65 |...if ( |NumPlaye|
|000042d0| 72 73 20 3e 20 30 20 29 | 0d 0a 09 09 09 45 6c 61 |rs > 0 )|.....Ela|
|000042e0| 70 73 65 64 54 69 6d 65 | 2b 2b 3b 0d 0a 09 09 65 |psedTime|++;....e|
|000042f0| 6c 73 65 0d 0a 09 09 09 | 45 6c 61 70 73 65 64 54 |lse.....|ElapsedT|
|00004300| 69 6d 65 20 3d 20 30 3b | 0d 0a 09 09 69 66 20 28 |ime = 0;|....if (|
|00004310| 20 45 6c 61 70 73 65 64 | 54 69 6d 65 20 3e 20 4e | Elapsed|Time > N|
|00004320| 65 74 57 61 69 74 20 29 | 0d 0a 09 09 7b 0d 0a 09 |etWait )|....{...|
|00004330| 09 09 69 66 20 28 20 28 | 4e 75 6d 50 6c 61 79 65 |..if ( (|NumPlaye|
|00004340| 72 73 20 2b 20 4e 75 6d | 42 6f 74 73 20 3c 20 34 |rs + Num|Bots < 4|
|00004350| 29 20 26 26 20 4e 65 65 | 64 50 6c 61 79 65 72 73 |) && Nee|dPlayers|
|00004360| 28 29 20 29 0d 0a 09 09 | 09 09 41 64 64 42 6f 74 |() )....|..AddBot|
|00004370| 28 29 3b 0d 0a 09 09 09 | 65 6c 73 65 20 69 66 20 |();.....|else if |
|00004380| 28 20 4e 75 6d 50 6c 61 | 79 65 72 73 20 2b 20 4e |( NumPla|yers + N|
|00004390| 75 6d 42 6f 74 73 20 3e | 20 31 20 29 0d 0a 09 09 |umBots >| 1 )....|
|000043a0| 09 09 62 4e 65 74 52 65 | 61 64 79 20 3d 20 66 61 |..bNetRe|ady = fa|
|000043b0| 6c 73 65 3b 0d 0a 09 09 | 7d 0d 0a 0d 0a 09 09 69 |lse;....|}......i|
|000043c0| 66 20 28 20 62 4e 65 74 | 52 65 61 64 79 20 29 0d |f ( bNet|Ready ).|
|000043d0| 0a 09 09 7b 0d 0a 09 09 | 09 66 6f 72 20 28 50 3d |...{....|.for (P=|
|000043e0| 4c 65 76 65 6c 2e 50 61 | 77 6e 4c 69 73 74 3b 20 |Level.Pa|wnList; |
|000043f0| 50 21 3d 4e 6f 6e 65 3b | 20 50 3d 50 2e 4e 65 78 |P!=None;| P=P.Nex|
|00004400| 74 50 61 77 6e 20 29 0d | 0a 09 09 09 09 69 66 20 |tPawn ).|.....if |
|00004410| 28 20 50 2e 49 73 41 28 | 27 50 6c 61 79 65 72 50 |( P.IsA(|'PlayerP|
|00004420| 61 77 6e 27 29 20 29 0d | 0a 09 09 09 09 09 50 6c |awn') ).|......Pl|
|00004430| 61 79 65 72 50 61 77 6e | 28 50 29 2e 53 65 74 50 |ayerPawn|(P).SetP|
|00004440| 72 6f 67 72 65 73 73 54 | 69 6d 65 28 32 29 3b 0d |rogressT|ime(2);.|
|00004450| 0a 09 09 09 72 65 74 75 | 72 6e 3b 0d 0a 09 09 7d |....retu|rn;....}|
|00004460| 0d 0a 09 09 65 6c 73 65 | 0d 0a 09 09 7b 0d 0a 09 |....else|....{...|
|00004470| 09 09 77 68 69 6c 65 20 | 28 20 4e 65 65 64 50 6c |..while |( NeedPl|
|00004480| 61 79 65 72 73 28 29 20 | 29 0d 0a 09 09 09 09 41 |ayers() |)......A|
|00004490| 64 64 42 6f 74 28 29 3b | 0d 0a 09 09 09 62 52 65 |ddBot();|.....bRe|
|000044a0| 71 75 69 72 65 52 65 61 | 64 79 20 3d 20 66 61 6c |quireRea|dy = fal|
|000044b0| 73 65 3b 0d 0a 09 09 09 | 53 74 61 72 74 4d 61 74 |se;.....|StartMat|
|000044c0| 63 68 28 29 3b 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |ch();...|.}...}..|
|000044d0| 0d 0a 09 69 66 20 28 20 | 62 52 65 71 75 69 72 65 |...if ( |bRequire|
|000044e0| 52 65 61 64 79 20 26 26 | 20 28 43 6f 75 6e 74 44 |Ready &&| (CountD|
|000044f0| 6f 77 6e 20 3e 20 30 29 | 20 29 0d 0a 09 7b 0d 0a |own > 0)| )...{..|
|00004500| 09 09 77 68 69 6c 65 20 | 28 20 28 52 65 6d 61 69 |..while |( (Remai|
|00004510| 6e 69 6e 67 42 6f 74 73 | 20 3e 20 30 29 20 26 26 |ningBots| > 0) &&|
|00004520| 20 41 64 64 42 6f 74 28 | 29 20 29 0d 0a 09 09 09 | AddBot(|) ).....|
|00004530| 52 65 6d 61 69 6e 69 6e | 67 42 6f 74 73 2d 2d 3b |Remainin|gBots--;|
|00004540| 0d 0a 09 09 66 6f 72 20 | 28 50 3d 4c 65 76 65 6c |....for |(P=Level|
|00004550| 2e 50 61 77 6e 4c 69 73 | 74 3b 20 50 21 3d 4e 6f |.PawnLis|t; P!=No|
|00004560| 6e 65 3b 20 50 3d 50 2e | 4e 65 78 74 50 61 77 6e |ne; P=P.|NextPawn|
|00004570| 20 29 0d 0a 09 09 09 69 | 66 20 28 20 50 2e 49 73 | ).....i|f ( P.Is|
|00004580| 41 28 27 50 6c 61 79 65 | 72 50 61 77 6e 27 29 20 |A('Playe|rPawn') |
|00004590| 29 0d 0a 09 09 09 09 50 | 6c 61 79 65 72 50 61 77 |)......P|layerPaw|
|000045a0| 6e 28 50 29 2e 53 65 74 | 50 72 6f 67 72 65 73 73 |n(P).Set|Progress|
|000045b0| 54 69 6d 65 28 32 29 3b | 0d 0a 09 09 69 66 20 28 |Time(2);|....if (|
|000045c0| 20 28 28 4e 75 6d 50 6c | 61 79 65 72 73 20 3d 3d | ((NumPl|ayers ==|
|000045d0| 20 4d 61 78 50 6c 61 79 | 65 72 73 29 20 7c 7c 20 | MaxPlay|ers) || |
|000045e0| 28 4c 65 76 65 6c 2e 4e | 65 74 4d 6f 64 65 20 3d |(Level.N|etMode =|
|000045f0| 3d 20 4e 4d 5f 53 74 61 | 6e 64 61 6c 6f 6e 65 29 |= NM_Sta|ndalone)|
|00004600| 29 20 0d 0a 09 09 09 09 | 26 26 20 28 52 65 6d 61 |) ......|&& (Rema|
|00004610| 69 6e 69 6e 67 42 6f 74 | 73 20 3c 3d 20 30 29 20 |iningBot|s <= 0) |
|00004620| 29 0d 0a 09 09 7b 09 0d | 0a 09 09 09 62 52 65 61 |)....{..|....bRea|
|00004630| 64 79 20 3d 20 74 72 75 | 65 3b 0d 0a 09 09 09 66 |dy = tru|e;.....f|
|00004640| 6f 72 20 28 50 3d 4c 65 | 76 65 6c 2e 50 61 77 6e |or (P=Le|vel.Pawn|
|00004650| 4c 69 73 74 3b 20 50 21 | 3d 4e 6f 6e 65 3b 20 50 |List; P!|=None; P|
|00004660| 3d 50 2e 4e 65 78 74 50 | 61 77 6e 20 29 0d 0a 09 |=P.NextP|awn )...|
|00004670| 09 09 09 69 66 20 28 20 | 50 2e 49 73 41 28 27 50 |...if ( |P.IsA('P|
|00004680| 6c 61 79 65 72 50 61 77 | 6e 27 29 20 26 26 20 21 |layerPaw|n') && !|
|00004690| 50 2e 49 73 41 28 27 53 | 70 65 63 74 61 74 6f 72 |P.IsA('S|pectator|
|000046a0| 27 29 0d 0a 09 09 09 09 | 09 26 26 20 21 50 6c 61 |')......|.&& !Pla|
|000046b0| 79 65 72 50 61 77 6e 28 | 50 29 2e 62 52 65 61 64 |yerPawn(|P).bRead|
|000046c0| 79 54 6f 50 6c 61 79 20 | 29 0d 0a 09 09 09 09 09 |yToPlay |).......|
|000046d0| 62 52 65 61 64 79 20 3d | 20 66 61 6c 73 65 3b 0d |bReady =| false;.|
|000046e0| 0a 09 09 09 0d 0a 09 09 | 09 69 66 20 28 20 62 52 |........|.if ( bR|
|000046f0| 65 61 64 79 20 29 0d 0a | 09 09 09 7b 09 0d 0a 09 |eady )..|...{....|
|00004700| 09 09 09 53 74 61 72 74 | 43 6f 75 6e 74 20 3d 20 |...Start|Count = |
|00004710| 33 30 3b 0d 0a 09 09 09 | 09 43 6f 75 6e 74 44 6f |30;.....|.CountDo|
|00004720| 77 6e 2d 2d 3b 0d 0a 09 | 09 09 09 69 66 20 28 20 |wn--;...|...if ( |
|00004730| 43 6f 75 6e 74 44 6f 77 | 6e 20 3c 3d 20 30 20 29 |CountDow|n <= 0 )|
|00004740| 0d 0a 09 09 09 09 09 53 | 74 61 72 74 4d 61 74 63 |.......S|tartMatc|
|00004750| 68 28 29 3b 0d 0a 09 09 | 09 09 65 6c 73 65 0d 0a |h();....|..else..|
|00004760| 09 09 09 09 7b 0d 0a 09 | 09 09 09 09 66 6f 72 20 |....{...|....for |
|00004770| 28 20 50 20 3d 20 4c 65 | 76 65 6c 2e 50 61 77 6e |( P = Le|vel.Pawn|
|00004780| 4c 69 73 74 3b 20 50 21 | 3d 4e 6f 6e 65 3b 20 50 |List; P!|=None; P|
|00004790| 3d 50 2e 6e 65 78 74 50 | 61 77 6e 20 29 0d 0a 09 |=P.nextP|awn )...|
|000047a0| 09 09 09 09 09 69 66 20 | 28 20 50 2e 49 73 41 28 |.....if |( P.IsA(|
|000047b0| 27 50 6c 61 79 65 72 50 | 61 77 6e 27 29 20 29 0d |'PlayerP|awn') ).|
|000047c0| 0a 09 09 09 09 09 09 7b | 0d 0a 09 09 09 09 09 09 |.......{|........|
|000047d0| 09 50 6c 61 79 65 72 50 | 61 77 6e 28 50 29 2e 43 |.PlayerP|awn(P).C|
|000047e0| 6c 65 61 72 50 72 6f 67 | 72 65 73 73 4d 65 73 73 |learProg|ressMess|
|000047f0| 61 67 65 73 28 29 3b 0d | 0a 09 09 09 09 09 09 09 |ages();.|........|
|00004800| 69 66 20 28 20 28 43 6f | 75 6e 74 44 6f 77 6e 20 |if ( (Co|untDown |
|00004810| 3c 20 31 31 29 20 26 26 | 20 50 2e 49 73 41 28 27 |< 11) &&| P.IsA('|
|00004820| 54 6f 75 72 6e 61 6d 65 | 6e 74 50 6c 61 79 65 72 |Tourname|ntPlayer|
|00004830| 27 29 20 29 0d 0a 09 09 | 09 09 09 09 09 09 54 6f |') )....|......To|
|00004840| 75 72 6e 61 6d 65 6e 74 | 50 6c 61 79 65 72 28 50 |urnament|Player(P|
|00004850| 29 2e 54 69 6d 65 4d 65 | 73 73 61 67 65 28 43 6f |).TimeMe|ssage(Co|
|00004860| 75 6e 74 44 6f 77 6e 29 | 3b 0d 0a 09 09 09 09 09 |untDown)|;.......|
|00004870| 09 09 65 6c 73 65 0d 0a | 09 09 09 09 09 09 09 09 |..else..|........|
|00004880| 50 6c 61 79 65 72 50 61 | 77 6e 28 50 29 2e 53 65 |PlayerPa|wn(P).Se|
|00004890| 74 50 72 6f 67 72 65 73 | 73 4d 65 73 73 61 67 65 |tProgres|sMessage|
|000048a0| 28 43 6f 75 6e 74 44 6f | 77 6e 24 43 6f 75 6e 74 |(CountDo|wn$Count|
|000048b0| 44 6f 77 6e 4d 65 73 73 | 61 67 65 2c 20 30 29 3b |DownMess|age, 0);|
|000048c0| 0d 0a 09 09 09 09 09 09 | 7d 0d 0a 09 09 09 09 7d |........|}......}|
|000048d0| 0d 0a 09 09 09 7d 0d 0a | 09 09 09 65 6c 73 65 20 |.....}..|...else |
|000048e0| 69 66 20 28 20 53 74 61 | 72 74 43 6f 75 6e 74 20 |if ( Sta|rtCount |
|000048f0| 3e 20 38 20 29 20 0d 0a | 09 09 09 7b 0d 0a 09 09 |> 8 ) ..|...{....|
|00004900| 09 09 66 6f 72 20 28 20 | 50 20 3d 20 4c 65 76 65 |..for ( |P = Leve|
|00004910| 6c 2e 50 61 77 6e 4c 69 | 73 74 3b 20 50 21 3d 4e |l.PawnLi|st; P!=N|
|00004920| 6f 6e 65 3b 20 50 3d 50 | 2e 6e 65 78 74 50 61 77 |one; P=P|.nextPaw|
|00004930| 6e 20 29 0d 0a 09 09 09 | 09 09 69 66 20 28 20 50 |n ).....|..if ( P|
|00004940| 2e 49 73 41 28 27 50 6c | 61 79 65 72 50 61 77 6e |.IsA('Pl|ayerPawn|
|00004950| 27 29 20 29 0d 0a 09 09 | 09 09 09 7b 0d 0a 09 09 |') )....|...{....|
|00004960| 09 09 09 09 50 6c 61 79 | 65 72 50 61 77 6e 28 50 |....Play|erPawn(P|
|00004970| 29 2e 43 6c 65 61 72 50 | 72 6f 67 72 65 73 73 4d |).ClearP|rogressM|
|00004980| 65 73 73 61 67 65 73 28 | 29 3b 0d 0a 09 09 09 09 |essages(|);......|
|00004990| 09 09 50 6c 61 79 65 72 | 50 61 77 6e 28 50 29 2e |..Player|Pawn(P).|
|000049a0| 53 65 74 50 72 6f 67 72 | 65 73 73 54 69 6d 65 28 |SetProgr|essTime(|
|000049b0| 32 29 3b 0d 0a 09 09 09 | 09 09 09 50 6c 61 79 65 |2);.....|...Playe|
|000049c0| 72 50 61 77 6e 28 50 29 | 2e 53 65 74 50 72 6f 67 |rPawn(P)|.SetProg|
|000049d0| 72 65 73 73 4d 65 73 73 | 61 67 65 28 57 61 69 74 |ressMess|age(Wait|
|000049e0| 69 6e 67 4d 65 73 73 61 | 67 65 31 2c 20 30 29 3b |ingMessa|ge1, 0);|
|000049f0| 0d 0a 09 09 09 09 09 09 | 50 6c 61 79 65 72 50 61 |........|PlayerPa|
|00004a00| 77 6e 28 50 29 2e 53 65 | 74 50 72 6f 67 72 65 73 |wn(P).Se|tProgres|
|00004a10| 73 4d 65 73 73 61 67 65 | 28 57 61 69 74 69 6e 67 |sMessage|(Waiting|
|00004a20| 4d 65 73 73 61 67 65 32 | 2c 20 31 29 3b 0d 0a 09 |Message2|, 1);...|
|00004a30| 09 09 09 09 09 69 66 20 | 28 20 50 6c 61 79 65 72 |.....if |( Player|
|00004a40| 50 61 77 6e 28 50 29 2e | 62 52 65 61 64 79 54 6f |Pawn(P).|bReadyTo|
|00004a50| 50 6c 61 79 20 29 0d 0a | 09 09 09 09 09 09 09 50 |Play )..|.......P|
|00004a60| 6c 61 79 65 72 50 61 77 | 6e 28 50 29 2e 53 65 74 |layerPaw|n(P).Set|
|00004a70| 50 72 6f 67 72 65 73 73 | 4d 65 73 73 61 67 65 28 |Progress|Message(|
|00004a80| 52 65 61 64 79 4d 65 73 | 73 61 67 65 2c 20 32 29 |ReadyMes|sage, 2)|
|00004a90| 3b 0d 0a 09 09 09 09 09 | 09 65 6c 73 65 0d 0a 09 |;.......|.else...|
|00004aa0| 09 09 09 09 09 09 50 6c | 61 79 65 72 50 61 77 6e |......Pl|ayerPawn|
|00004ab0| 28 50 29 2e 53 65 74 50 | 72 6f 67 72 65 73 73 4d |(P).SetP|rogressM|
|00004ac0| 65 73 73 61 67 65 28 4e | 6f 74 52 65 61 64 79 4d |essage(N|otReadyM|
|00004ad0| 65 73 73 61 67 65 2c 20 | 32 29 3b 0d 0a 09 09 09 |essage, |2);.....|
|00004ae0| 09 09 7d 0d 0a 09 09 09 | 7d 0d 0a 09 09 09 65 6c |..}.....|}.....el|
|00004af0| 73 65 0d 0a 09 09 09 7b | 0d 0a 09 09 09 09 53 74 |se.....{|......St|
|00004b00| 61 72 74 43 6f 75 6e 74 | 2b 2b 3b 0d 0a 09 09 09 |artCount|++;.....|
|00004b10| 09 69 66 20 28 20 4c 65 | 76 65 6c 2e 4e 65 74 4d |.if ( Le|vel.NetM|
|00004b20| 6f 64 65 20 21 3d 20 4e | 4d 5f 53 74 61 6e 64 61 |ode != N|M_Standa|
|00004b30| 6c 6f 6e 65 20 29 0d 0a | 09 09 09 09 09 53 74 61 |lone )..|.....Sta|
|00004b40| 72 74 43 6f 75 6e 74 20 | 3d 20 33 30 3b 0d 0a 09 |rtCount |= 30;...|
|00004b50| 09 09 7d 0d 0a 09 09 7d | 0d 0a 09 09 65 6c 73 65 |..}....}|....else|
|00004b60| 0d 0a 09 09 7b 0d 0a 09 | 09 09 66 6f 72 20 28 20 |....{...|..for ( |
|00004b70| 50 20 3d 20 4c 65 76 65 | 6c 2e 50 61 77 6e 4c 69 |P = Leve|l.PawnLi|
|00004b80| 73 74 3b 20 50 21 3d 4e | 6f 6e 65 3b 20 50 3d 50 |st; P!=N|one; P=P|
|00004b90| 2e 6e 65 78 74 50 61 77 | 6e 20 29 0d 0a 09 09 09 |.nextPaw|n ).....|
|00004ba0| 09 69 66 20 28 20 50 2e | 49 73 41 28 27 50 6c 61 |.if ( P.|IsA('Pla|
|00004bb0| 79 65 72 50 61 77 6e 27 | 29 20 29 0d 0a 09 09 09 |yerPawn'|) ).....|
|00004bc0| 09 09 50 6c 61 79 53 74 | 61 72 74 75 70 4d 65 73 |..PlaySt|artupMes|
|00004bd0| 73 61 67 65 28 50 6c 61 | 79 65 72 50 61 77 6e 28 |sage(Pla|yerPawn(|
|00004be0| 50 29 29 3b 0d 0a 09 09 | 7d 0d 0a 09 7d 09 0d 0a |P));....|}...}...|
|00004bf0| 09 65 6c 73 65 0d 0a 09 | 7b 0d 0a 09 09 69 66 20 |.else...|{....if |
|00004c00| 28 20 62 46 6f 72 63 65 | 52 65 73 70 61 77 6e 20 |( bForce|Respawn |
|00004c10| 29 0d 0a 09 09 09 46 6f | 72 20 28 20 50 3d 4c 65 |).....Fo|r ( P=Le|
|00004c20| 76 65 6c 2e 50 61 77 6e | 4c 69 73 74 3b 20 50 21 |vel.Pawn|List; P!|
|00004c30| 3d 4e 6f 6e 65 3b 20 50 | 3d 50 2e 4e 65 78 74 50 |=None; P|=P.NextP|
|00004c40| 61 77 6e 20 29 0d 0a 09 | 09 09 7b 0d 0a 09 09 09 |awn )...|..{.....|
|00004c50| 09 69 66 20 28 20 50 2e | 49 73 49 6e 53 74 61 74 |.if ( P.|IsInStat|
|00004c60| 65 28 27 44 79 69 6e 67 | 27 29 20 26 26 20 50 2e |e('Dying|') && P.|
|00004c70| 49 73 41 28 27 50 6c 61 | 79 65 72 50 61 77 6e 27 |IsA('Pla|yerPawn'|
|00004c80| 29 20 26 26 20 50 2e 62 | 48 69 64 64 65 6e 20 29 |) && P.b|Hidden )|
|00004c90| 0d 0a 09 09 09 09 09 50 | 6c 61 79 65 72 50 61 77 |.......P|layerPaw|
|00004ca0| 6e 28 50 29 2e 53 65 72 | 76 65 72 52 65 53 74 61 |n(P).Ser|verReSta|
|00004cb0| 72 74 50 6c 61 79 65 72 | 28 29 3b 0d 0a 09 09 09 |rtPlayer|();.....|
|00004cc0| 7d 0d 0a 09 09 69 66 20 | 28 20 4c 65 76 65 6c 2e |}....if |( Level.|
|00004cd0| 4e 65 74 4d 6f 64 65 20 | 21 3d 20 4e 4d 5f 53 74 |NetMode |!= NM_St|
|00004ce0| 61 6e 64 61 6c 6f 6e 65 | 20 29 0d 0a 09 09 7b 0d |andalone| )....{.|
|00004cf0| 0a 09 09 09 69 66 20 28 | 20 4e 65 65 64 50 6c 61 |....if (| NeedPla|
|00004d00| 79 65 72 73 28 29 20 29 | 0d 0a 09 09 09 09 41 64 |yers() )|......Ad|
|00004d10| 64 42 6f 74 28 29 3b 0d | 0a 09 09 7d 0d 0a 09 09 |dBot();.|...}....|
|00004d20| 65 6c 73 65 0d 0a 09 09 | 09 77 68 69 6c 65 20 28 |else....|.while (|
|00004d30| 20 28 52 65 6d 61 69 6e | 69 6e 67 42 6f 74 73 20 | (Remain|ingBots |
|00004d40| 3e 20 30 29 20 26 26 20 | 41 64 64 42 6f 74 28 29 |> 0) && |AddBot()|
|00004d50| 20 29 0d 0a 09 09 09 09 | 52 65 6d 61 69 6e 69 6e | )......|Remainin|
|00004d60| 67 42 6f 74 73 2d 2d 3b | 0d 0a 09 09 69 66 20 28 |gBots--;|....if (|
|00004d70| 20 62 47 61 6d 65 45 6e | 64 65 64 20 29 0d 0a 09 | bGameEn|ded )...|
|00004d80| 09 7b 0d 0a 09 09 09 69 | 66 20 28 20 4c 65 76 65 |.{.....i|f ( Leve|
|00004d90| 6c 2e 54 69 6d 65 53 65 | 63 6f 6e 64 73 20 3e 20 |l.TimeSe|conds > |
|00004da0| 45 6e 64 54 69 6d 65 20 | 2b 20 52 65 73 74 61 72 |EndTime |+ Restar|
|00004db0| 74 57 61 69 74 20 29 0d | 0a 09 09 09 09 52 65 73 |tWait ).|.....Res|
|00004dc0| 74 61 72 74 47 61 6d 65 | 28 29 3b 0d 0a 09 09 7d |tartGame|();....}|
|00004dd0| 0d 0a 09 09 65 6c 73 65 | 20 69 66 20 28 20 21 62 |....else| if ( !b|
|00004de0| 4f 76 65 72 54 69 6d 65 | 20 26 26 20 28 54 69 6d |OverTime| && (Tim|
|00004df0| 65 4c 69 6d 69 74 20 3e | 20 30 29 20 29 0d 0a 09 |eLimit >| 0) )...|
|00004e00| 09 7b 0d 0a 09 09 09 47 | 61 6d 65 52 65 70 6c 69 |.{.....G|ameRepli|
|00004e10| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 62 53 74 6f 70 |cationIn|fo.bStop|
|00004e20| 43 6f 75 6e 74 44 6f 77 | 6e 20 3d 20 66 61 6c 73 |CountDow|n = fals|
|00004e30| 65 3b 0d 0a 09 09 09 52 | 65 6d 61 69 6e 69 6e 67 |e;.....R|emaining|
|00004e40| 54 69 6d 65 2d 2d 3b 0d | 0a 09 09 09 47 61 6d 65 |Time--;.|....Game|
|00004e50| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00004e60| 52 65 6d 61 69 6e 69 6e | 67 54 69 6d 65 20 3d 20 |Remainin|gTime = |
|00004e70| 52 65 6d 61 69 6e 69 6e | 67 54 69 6d 65 3b 0d 0a |Remainin|gTime;..|
|00004e80| 09 09 09 69 66 20 28 20 | 52 65 6d 61 69 6e 69 6e |...if ( |Remainin|
|00004e90| 67 54 69 6d 65 20 25 20 | 36 30 20 3d 3d 20 30 20 |gTime % |60 == 0 |
|00004ea0| 29 0d 0a 09 09 09 09 47 | 61 6d 65 52 65 70 6c 69 |)......G|ameRepli|
|00004eb0| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 52 65 6d 61 69 |cationIn|fo.Remai|
|00004ec0| 6e 69 6e 67 4d 69 6e 75 | 74 65 20 3d 20 52 65 6d |ningMinu|te = Rem|
|00004ed0| 61 69 6e 69 6e 67 54 69 | 6d 65 3b 0d 0a 09 09 09 |ainingTi|me;.....|
|00004ee0| 69 66 20 28 20 52 65 6d | 61 69 6e 69 6e 67 54 69 |if ( Rem|ainingTi|
|00004ef0| 6d 65 20 3c 3d 20 30 20 | 29 0d 0a 09 09 09 09 45 |me <= 0 |)......E|
|00004f00| 6e 64 47 61 6d 65 28 22 | 74 69 6d 65 6c 69 6d 69 |ndGame("|timelimi|
|00004f10| 74 22 29 3b 0d 0a 09 09 | 7d 0d 0a 09 09 65 6c 73 |t");....|}....els|
|00004f20| 65 0d 0a 09 09 7b 0d 0a | 09 09 09 45 6c 61 70 73 |e....{..|...Elaps|
|00004f30| 65 64 54 69 6d 65 2b 2b | 3b 0d 0a 09 09 09 47 61 |edTime++|;.....Ga|
|00004f40| 6d 65 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |meReplic|ationInf|
|00004f50| 6f 2e 45 6c 61 70 73 65 | 64 54 69 6d 65 20 3d 20 |o.Elapse|dTime = |
|00004f60| 45 6c 61 70 73 65 64 54 | 69 6d 65 3b 0d 0a 09 09 |ElapsedT|ime;....|
|00004f70| 7d 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |}...}..}|....func|
|00004f80| 74 69 6f 6e 20 62 6f 6f | 6c 20 54 6f 6f 4d 61 6e |tion boo|l TooMan|
|00004f90| 79 42 6f 74 73 28 29 0d | 0a 7b 0d 0a 09 72 65 74 |yBots().|.{...ret|
|00004fa0| 75 72 6e 20 28 4e 75 6d | 42 6f 74 73 20 2b 20 4e |urn (Num|Bots + N|
|00004fb0| 75 6d 50 6c 61 79 65 72 | 73 20 3e 20 4d 69 6e 50 |umPlayer|s > MinP|
|00004fc0| 6c 61 79 65 72 73 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |layers);|..}....f|
|00004fd0| 75 6e 63 74 69 6f 6e 20 | 62 6f 6f 6c 20 52 65 73 |unction |bool Res|
|00004fe0| 74 61 72 74 50 6c 61 79 | 65 72 28 20 70 61 77 6e |tartPlay|er( pawn|
|00004ff0| 20 61 50 6c 61 79 65 72 | 20 29 09 0d 0a 7b 0d 0a | aPlayer| )...{..|
|00005000| 09 6c 6f 63 61 6c 20 42 | 6f 74 20 42 3b 0d 0a 0d |.local B|ot B;...|
|00005010| 0a 09 61 50 6c 61 79 65 | 72 2e 44 61 6d 61 67 65 |..aPlaye|r.Damage|
|00005020| 53 63 61 6c 69 6e 67 20 | 3d 20 61 50 6c 61 79 65 |Scaling |= aPlaye|
|00005030| 72 2e 44 65 66 61 75 6c | 74 2e 44 61 6d 61 67 65 |r.Defaul|t.Damage|
|00005040| 53 63 61 6c 69 6e 67 3b | 0d 0a 09 42 20 3d 20 42 |Scaling;|...B = B|
|00005050| 6f 74 28 61 50 6c 61 79 | 65 72 29 3b 0d 0a 09 69 |ot(aPlay|er);...i|
|00005060| 66 20 28 20 28 42 20 21 | 3d 20 4e 6f 6e 65 29 20 |f ( (B !|= None) |
|00005070| 0d 0a 09 09 26 26 20 28 | 4c 65 76 65 6c 2e 4e 65 |....&& (|Level.Ne|
|00005080| 74 4d 6f 64 65 20 21 3d | 20 4e 4d 5f 53 74 61 6e |tMode !=| NM_Stan|
|00005090| 64 61 6c 6f 6e 65 29 20 | 0d 0a 09 09 26 26 20 54 |dalone) |....&& T|
|000050a0| 6f 6f 4d 61 6e 79 42 6f | 74 73 28 29 20 29 0d 0a |ooManyBo|ts() )..|
|000050b0| 09 7b 0d 0a 09 09 61 50 | 6c 61 79 65 72 2e 44 65 |.{....aP|layer.De|
|000050c0| 73 74 72 6f 79 28 29 3b | 0d 0a 09 09 72 65 74 75 |stroy();|....retu|
|000050d0| 72 6e 20 66 61 6c 73 65 | 3b 0d 0a 09 7d 0d 0a 09 |rn false|;...}...|
|000050e0| 72 65 74 75 72 6e 20 53 | 75 70 65 72 2e 52 65 73 |return S|uper.Res|
|000050f0| 74 61 72 74 50 6c 61 79 | 65 72 28 61 50 6c 61 79 |tartPlay|er(aPlay|
|00005100| 65 72 29 3b 0d 0a 09 69 | 66 20 28 20 61 50 6c 61 |er);...i|f ( aPla|
|00005110| 79 65 72 2e 49 73 41 28 | 27 54 6f 75 72 6e 61 6d |yer.IsA(|'Tournam|
|00005120| 65 6e 74 50 6c 61 79 65 | 72 27 29 20 29 0d 0a 09 |entPlaye|r') )...|
|00005130| 09 54 6f 75 72 6e 61 6d | 65 6e 74 50 6c 61 79 65 |.Tournam|entPlaye|
|00005140| 72 28 61 50 6c 61 79 65 | 72 29 2e 53 74 61 72 74 |r(aPlaye|r).Start|
|00005150| 53 70 6f 74 20 3d 20 4c | 61 73 74 53 74 61 72 74 |Spot = L|astStart|
|00005160| 53 70 6f 74 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |Spot;..}|....func|
|00005170| 74 69 6f 6e 20 53 65 6e | 64 53 74 61 72 74 4d 65 |tion Sen|dStartMe|
|00005180| 73 73 61 67 65 28 50 6c | 61 79 65 72 50 61 77 6e |ssage(Pl|ayerPawn|
|00005190| 20 50 29 0d 0a 7b 0d 0a | 09 50 2e 43 6c 65 61 72 | P)..{..|.P.Clear|
|000051a0| 50 72 6f 67 72 65 73 73 | 4d 65 73 73 61 67 65 73 |Progress|Messages|
|000051b0| 28 29 3b 0d 0a 09 50 2e | 53 65 74 50 72 6f 67 72 |();...P.|SetProgr|
|000051c0| 65 73 73 4d 65 73 73 61 | 67 65 28 53 74 61 72 74 |essMessa|ge(Start|
|000051d0| 4d 65 73 73 61 67 65 2c | 20 30 29 3b 0d 0a 7d 0d |Message,| 0);..}.|
|000051e0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 42 6f 74 20 |...funct|ion Bot |
|000051f0| 53 70 61 77 6e 42 6f 74 | 28 6f 75 74 20 4e 61 76 |SpawnBot|(out Nav|
|00005200| 69 67 61 74 69 6f 6e 50 | 6f 69 6e 74 20 53 74 61 |igationP|oint Sta|
|00005210| 72 74 53 70 6f 74 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |rtSpot).|.{...loc|
|00005220| 61 6c 20 62 6f 74 20 4e | 65 77 42 6f 74 3b 0d 0a |al bot N|ewBot;..|
|00005230| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 42 6f 74 4e 3b |.local i|nt BotN;|
|00005240| 0d 0a 09 6c 6f 63 61 6c | 20 50 61 77 6e 20 50 3b |...local| Pawn P;|
|00005250| 0d 0a 0d 0a 09 69 66 20 | 28 20 62 52 61 74 65 64 |.....if |( bRated|
|00005260| 47 61 6d 65 20 29 0d 0a | 09 09 72 65 74 75 72 6e |Game )..|..return|
|00005270| 20 53 70 61 77 6e 52 61 | 74 65 64 42 6f 74 28 53 | SpawnRa|tedBot(S|
|00005280| 74 61 72 74 53 70 6f 74 | 29 3b 0d 0a 0d 0a 09 44 |tartSpot|);.....D|
|00005290| 69 66 66 69 63 75 6c 74 | 79 20 3d 20 42 6f 74 43 |ifficult|y = BotC|
|000052a0| 6f 6e 66 69 67 2e 44 69 | 66 66 69 63 75 6c 74 79 |onfig.Di|fficulty|
|000052b0| 3b 0d 0a 0d 0a 09 69 66 | 20 28 20 44 69 66 66 69 |;.....if| ( Diffi|
|000052c0| 63 75 6c 74 79 20 3e 3d | 20 34 20 29 0d 0a 09 7b |culty >=| 4 )...{|
|000052d0| 0d 0a 09 09 62 4e 6f 76 | 69 63 65 4d 6f 64 65 20 |....bNov|iceMode |
|000052e0| 3d 20 66 61 6c 73 65 3b | 0d 0a 09 09 44 69 66 66 |= false;|....Diff|
|000052f0| 69 63 75 6c 74 79 20 3d | 20 44 69 66 66 69 63 75 |iculty =| Difficu|
|00005300| 6c 74 79 20 2d 20 34 3b | 0d 0a 09 7d 0d 0a 09 65 |lty - 4;|...}...e|
|00005310| 6c 73 65 0d 0a 09 7b 0d | 0a 09 09 69 66 20 28 20 |lse...{.|...if ( |
|00005320| 44 69 66 66 69 63 75 6c | 74 79 20 3e 20 33 20 29 |Difficul|ty > 3 )|
|00005330| 0d 0a 09 09 7b 0d 0a 09 | 09 09 44 69 66 66 69 63 |....{...|..Diffic|
|00005340| 75 6c 74 79 20 3d 20 33 | 3b 0d 0a 09 09 09 62 54 |ulty = 3|;.....bT|
|00005350| 68 72 65 65 50 6c 75 73 | 20 3d 20 74 72 75 65 3b |hreePlus| = true;|
|00005360| 0d 0a 09 09 7d 0d 0a 09 | 09 62 4e 6f 76 69 63 65 |....}...|.bNovice|
|00005370| 4d 6f 64 65 20 3d 20 74 | 72 75 65 3b 0d 0a 09 7d |Mode = t|rue;...}|
|00005380| 0d 0a 09 42 6f 74 4e 20 | 3d 20 42 6f 74 43 6f 6e |...BotN |= BotCon|
|00005390| 66 69 67 2e 43 68 6f 6f | 73 65 42 6f 74 49 6e 66 |fig.Choo|seBotInf|
|000053a0| 6f 28 29 3b 0d 0a 09 0d | 0a 09 2f 2f 20 46 69 6e |o();....|..// Fin|
|000053b0| 64 20 61 20 73 74 61 72 | 74 20 73 70 6f 74 2e 0d |d a star|t spot..|
|000053c0| 0a 09 53 74 61 72 74 53 | 70 6f 74 20 3d 20 46 69 |..StartS|pot = Fi|
|000053d0| 6e 64 50 6c 61 79 65 72 | 53 74 61 72 74 28 4e 6f |ndPlayer|Start(No|
|000053e0| 6e 65 2c 20 32 35 35 29 | 3b 0d 0a 09 69 66 28 20 |ne, 255)|;...if( |
|000053f0| 53 74 61 72 74 53 70 6f | 74 20 3d 3d 20 4e 6f 6e |StartSpo|t == Non|
|00005400| 65 20 29 0d 0a 09 7b 0d | 0a 09 09 6c 6f 67 28 22 |e )...{.|...log("|
|00005410| 43 6f 75 6c 64 20 6e 6f | 74 20 66 69 6e 64 20 73 |Could no|t find s|
|00005420| 74 61 72 74 69 6e 67 20 | 73 70 6f 74 20 66 6f 72 |tarting |spot for|
|00005430| 20 42 6f 74 22 29 3b 0d | 0a 09 09 72 65 74 75 72 | Bot");.|...retur|
|00005440| 6e 20 4e 6f 6e 65 3b 0d | 0a 09 7d 0d 0a 0d 0a 09 |n None;.|..}.....|
|00005450| 2f 2f 20 54 72 79 20 74 | 6f 20 73 70 61 77 6e 20 |// Try t|o spawn |
|00005460| 74 68 65 20 62 6f 74 2e | 0d 0a 09 4e 65 77 42 6f |the bot.|...NewBo|
|00005470| 74 20 3d 20 53 70 61 77 | 6e 28 42 6f 74 43 6f 6e |t = Spaw|n(BotCon|
|00005480| 66 69 67 2e 43 48 47 65 | 74 42 6f 74 43 6c 61 73 |fig.CHGe|tBotClas|
|00005490| 73 28 42 6f 74 4e 29 2c | 2c 2c 53 74 61 72 74 53 |s(BotN),|,,StartS|
|000054a0| 70 6f 74 2e 4c 6f 63 61 | 74 69 6f 6e 2c 53 74 61 |pot.Loca|tion,Sta|
|000054b0| 72 74 53 70 6f 74 2e 52 | 6f 74 61 74 69 6f 6e 29 |rtSpot.R|otation)|
|000054c0| 3b 0d 0a 0d 0a 09 69 66 | 20 28 20 4e 65 77 42 6f |;.....if| ( NewBo|
|000054d0| 74 20 3d 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 09 6c |t == Non|e )....l|
|000054e0| 6f 67 28 22 43 6f 75 6c | 64 6e 27 74 20 73 70 61 |og("Coul|dn't spa|
|000054f0| 77 6e 20 70 6c 61 79 65 | 72 20 61 74 20 22 24 53 |wn playe|r at "$S|
|00005500| 74 61 72 74 53 70 6f 74 | 29 3b 0d 0a 0d 0a 09 69 |tartSpot|);.....i|
|00005510| 66 20 28 20 28 62 48 75 | 6d 61 6e 73 4f 6e 6c 79 |f ( (bHu|mansOnly|
|00005520| 20 7c 7c 20 4c 65 76 65 | 6c 2e 62 48 75 6d 61 6e | || Leve|l.bHuman|
|00005530| 73 4f 6e 6c 79 29 20 26 | 26 20 21 4e 65 77 42 6f |sOnly) &|& !NewBo|
|00005540| 74 2e 62 49 73 48 75 6d | 61 6e 20 29 0d 0a 09 7b |t.bIsHum|an )...{|
|00005550| 0d 0a 09 09 6c 6f 67 28 | 22 63 61 6e 27 74 20 61 |....log(|"can't a|
|00005560| 64 64 20 6e 6f 6e 2d 68 | 75 6d 61 6e 20 62 6f 74 |dd non-h|uman bot|
|00005570| 20 74 6f 20 74 68 69 73 | 20 67 61 6d 65 22 29 3b | to this| game");|
|00005580| 0d 0a 09 09 4e 65 77 42 | 6f 74 2e 44 65 73 74 72 |....NewB|ot.Destr|
|00005590| 6f 79 28 29 3b 0d 0a 09 | 09 4e 65 77 42 6f 74 20 |oy();...|.NewBot |
|000055a0| 3d 20 4e 6f 6e 65 3b 0d | 0a 09 7d 0d 0a 0d 0a 09 |= None;.|..}.....|
|000055b0| 69 66 20 28 20 4e 65 77 | 42 6f 74 20 3d 3d 20 4e |if ( New|Bot == N|
|000055c0| 6f 6e 65 20 29 0d 0a 09 | 09 4e 65 77 42 6f 74 20 |one )...|.NewBot |
|000055d0| 3d 20 53 70 61 77 6e 28 | 42 6f 74 43 6f 6e 66 69 |= Spawn(|BotConfi|
|000055e0| 67 2e 43 48 47 65 74 42 | 6f 74 43 6c 61 73 73 28 |g.CHGetB|otClass(|
|000055f0| 30 29 2c 2c 2c 53 74 61 | 72 74 53 70 6f 74 2e 4c |0),,,Sta|rtSpot.L|
|00005600| 6f 63 61 74 69 6f 6e 2c | 53 74 61 72 74 53 70 6f |ocation,|StartSpo|
|00005610| 74 2e 52 6f 74 61 74 69 | 6f 6e 29 3b 0d 0a 0d 0a |t.Rotati|on);....|
|00005620| 09 69 66 20 28 20 4e 65 | 77 42 6f 74 20 21 3d 20 |.if ( Ne|wBot != |
|00005630| 4e 6f 6e 65 20 29 0d 0a | 09 7b 0d 0a 09 09 2f 2f |None )..|.{....//|
|00005640| 20 53 65 74 20 74 68 65 | 20 70 6c 61 79 65 72 27 | Set the| player'|
|00005650| 73 20 49 44 2e 0d 0a 09 | 09 4e 65 77 42 6f 74 2e |s ID....|.NewBot.|
|00005660| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00005670| 6e 49 6e 66 6f 2e 50 6c | 61 79 65 72 49 44 20 3d |nInfo.Pl|ayerID =|
|00005680| 20 43 75 72 72 65 6e 74 | 49 44 2b 2b 3b 0d 0a 0d | Current|ID++;...|
|00005690| 0a 09 09 4e 65 77 42 6f | 74 2e 50 6c 61 79 65 72 |...NewBo|t.Player|
|000056a0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|000056b0| 54 65 61 6d 20 3d 20 42 | 6f 74 43 6f 6e 66 69 67 |Team = B|otConfig|
|000056c0| 2e 47 65 74 42 6f 74 54 | 65 61 6d 28 42 6f 74 4e |.GetBotT|eam(BotN|
|000056d0| 29 3b 0d 0a 09 09 42 6f | 74 43 6f 6e 66 69 67 2e |);....Bo|tConfig.|
|000056e0| 43 48 49 6e 64 69 76 69 | 64 75 61 6c 69 7a 65 28 |CHIndivi|dualize(|
|000056f0| 4e 65 77 42 6f 74 2c 20 | 42 6f 74 4e 2c 20 4e 75 |NewBot, |BotN, Nu|
|00005700| 6d 42 6f 74 73 29 3b 0d | 0a 09 09 4e 65 77 42 6f |mBots);.|...NewBo|
|00005710| 74 2e 56 69 65 77 52 6f | 74 61 74 69 6f 6e 20 3d |t.ViewRo|tation =|
|00005720| 20 53 74 61 72 74 53 70 | 6f 74 2e 52 6f 74 61 74 | StartSp|ot.Rotat|
|00005730| 69 6f 6e 3b 0d 0a 09 09 | 2f 2f 20 62 72 6f 61 64 |ion;....|// broad|
|00005740| 63 61 73 74 20 61 20 77 | 65 6c 63 6f 6d 65 20 6d |cast a w|elcome m|
|00005750| 65 73 73 61 67 65 2e 0d | 0a 09 09 42 72 6f 61 64 |essage..|...Broad|
|00005760| 63 61 73 74 4d 65 73 73 | 61 67 65 28 20 4e 65 77 |castMess|age( New|
|00005770| 42 6f 74 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |Bot.Play|erReplic|
|00005780| 61 74 69 6f 6e 49 6e 66 | 6f 2e 50 6c 61 79 65 72 |ationInf|o.Player|
|00005790| 4e 61 6d 65 24 45 6e 74 | 65 72 65 64 4d 65 73 73 |Name$Ent|eredMess|
|000057a0| 61 67 65 2c 20 66 61 6c | 73 65 20 29 3b 0d 0a 0d |age, fal|se );...|
|000057b0| 0a 09 09 4d 6f 64 69 66 | 79 42 65 68 61 76 69 6f |...Modif|yBehavio|
|000057c0| 75 72 28 4e 65 77 42 6f | 74 29 3b 0d 0a 09 09 41 |ur(NewBo|t);....A|
|000057d0| 64 64 44 65 66 61 75 6c | 74 49 6e 76 65 6e 74 6f |ddDefaul|tInvento|
|000057e0| 72 79 28 20 4e 65 77 42 | 6f 74 20 29 3b 0d 0a 09 |ry( NewB|ot );...|
|000057f0| 09 4e 75 6d 42 6f 74 73 | 2b 2b 3b 0d 0a 09 09 69 |.NumBots|++;....i|
|00005800| 66 20 28 20 62 52 65 71 | 75 69 72 65 52 65 61 64 |f ( bReq|uireRead|
|00005810| 79 20 26 26 20 28 43 6f | 75 6e 74 44 6f 77 6e 20 |y && (Co|untDown |
|00005820| 3e 20 30 29 20 29 0d 0a | 09 09 09 4e 65 77 42 6f |> 0) )..|...NewBo|
|00005830| 74 2e 47 6f 74 6f 53 74 | 61 74 65 28 27 44 79 69 |t.GotoSt|ate('Dyi|
|00005840| 6e 67 27 2c 20 27 57 61 | 69 74 69 6e 67 46 6f 72 |ng', 'Wa|itingFor|
|00005850| 53 74 61 72 74 27 29 3b | 0d 0a 09 09 4e 65 77 42 |Start');|....NewB|
|00005860| 6f 74 2e 41 69 72 43 6f | 6e 74 72 6f 6c 20 3d 20 |ot.AirCo|ntrol = |
|00005870| 41 69 72 43 6f 6e 74 72 | 6f 6c 3b 0d 0a 0d 0a 09 |AirContr|ol;.....|
|00005880| 09 69 66 20 28 20 28 4c | 65 76 65 6c 2e 4e 65 74 |.if ( (L|evel.Net|
|00005890| 4d 6f 64 65 20 21 3d 20 | 4e 4d 5f 53 74 61 6e 64 |Mode != |NM_Stand|
|000058a0| 61 6c 6f 6e 65 29 20 26 | 26 20 28 62 4e 65 74 52 |alone) &|& (bNetR|
|000058b0| 65 61 64 79 20 7c 7c 20 | 62 52 65 71 75 69 72 65 |eady || |bRequire|
|000058c0| 52 65 61 64 79 29 20 29 | 0d 0a 09 09 7b 0d 0a 09 |Ready) )|....{...|
|000058d0| 09 09 2f 2f 20 72 65 70 | 6c 69 63 61 74 65 20 73 |..// rep|licate s|
|000058e0| 6b 69 6e 73 0d 0a 09 09 | 09 66 6f 72 20 28 20 50 |kins....|.for ( P|
|000058f0| 3d 4c 65 76 65 6c 2e 50 | 61 77 6e 4c 69 73 74 3b |=Level.P|awnList;|
|00005900| 20 50 21 3d 4e 6f 6e 65 | 3b 20 50 3d 50 2e 4e 65 | P!=None|; P=P.Ne|
|00005910| 78 74 50 61 77 6e 20 29 | 0d 0a 09 09 09 09 69 66 |xtPawn )|......if|
|00005920| 20 28 20 50 2e 62 49 73 | 50 6c 61 79 65 72 20 26 | ( P.bIs|Player &|
|00005930| 26 20 28 50 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |& (P.Pla|yerRepli|
|00005940| 63 61 74 69 6f 6e 49 6e | 66 6f 20 21 3d 20 4e 6f |cationIn|fo != No|
|00005950| 6e 65 29 20 26 26 20 50 | 2e 50 6c 61 79 65 72 52 |ne) && P|.PlayerR|
|00005960| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 62 |eplicati|onInfo.b|
|00005970| 57 61 69 74 69 6e 67 50 | 6c 61 79 65 72 20 26 26 |WaitingP|layer &&|
|00005980| 20 50 2e 49 73 41 28 27 | 50 6c 61 79 65 72 50 61 | P.IsA('|PlayerPa|
|00005990| 77 6e 27 29 20 29 0d 0a | 09 09 09 09 7b 0d 0a 09 |wn') )..|....{...|
|000059a0| 09 09 09 09 69 66 20 28 | 20 4e 65 77 42 6f 74 2e |....if (| NewBot.|
|000059b0| 62 49 73 4d 75 6c 74 69 | 53 6b 69 6e 6e 65 64 20 |bIsMulti|Skinned |
|000059c0| 29 0d 0a 09 09 09 09 09 | 09 50 6c 61 79 65 72 50 |).......|.PlayerP|
|000059d0| 61 77 6e 28 50 29 2e 43 | 6c 69 65 6e 74 52 65 70 |awn(P).C|lientRep|
|000059e0| 6c 69 63 61 74 65 53 6b | 69 6e 73 28 4e 65 77 42 |licateSk|ins(NewB|
|000059f0| 6f 74 2e 4d 75 6c 74 69 | 53 6b 69 6e 73 5b 30 5d |ot.Multi|Skins[0]|
|00005a00| 2c 20 4e 65 77 42 6f 74 | 2e 4d 75 6c 74 69 53 6b |, NewBot|.MultiSk|
|00005a10| 69 6e 73 5b 31 5d 2c 20 | 4e 65 77 42 6f 74 2e 4d |ins[1], |NewBot.M|
|00005a20| 75 6c 74 69 53 6b 69 6e | 73 5b 32 5d 2c 20 4e 65 |ultiSkin|s[2], Ne|
|00005a30| 77 42 6f 74 2e 4d 75 6c | 74 69 53 6b 69 6e 73 5b |wBot.Mul|tiSkins[|
|00005a40| 33 5d 29 3b 0d 0a 09 09 | 09 09 09 65 6c 73 65 0d |3]);....|...else.|
|00005a50| 0a 09 09 09 09 09 09 50 | 6c 61 79 65 72 50 61 77 |.......P|layerPaw|
|00005a60| 6e 28 50 29 2e 43 6c 69 | 65 6e 74 52 65 70 6c 69 |n(P).Cli|entRepli|
|00005a70| 63 61 74 65 53 6b 69 6e | 73 28 4e 65 77 42 6f 74 |cateSkin|s(NewBot|
|00005a80| 2e 53 6b 69 6e 29 3b 09 | 0d 0a 09 09 09 09 7d 09 |.Skin);.|......}.|
|00005a90| 09 09 09 09 09 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |........|.}...}..|
|00005aa0| 0d 0a 09 72 65 74 75 72 | 6e 20 4e 65 77 42 6f 74 |...retur|n NewBot|
|00005ab0| 3b 0d 0a 7d 0d 0a 0d 0a | 0d 0a 66 75 6e 63 74 69 |;..}....|..functi|
|00005ac0| 6f 6e 20 42 6f 74 20 53 | 70 61 77 6e 52 61 74 65 |on Bot S|pawnRate|
|00005ad0| 64 42 6f 74 28 6f 75 74 | 20 4e 61 76 69 67 61 74 |dBot(out| Navigat|
|00005ae0| 69 6f 6e 50 6f 69 6e 74 | 20 53 74 61 72 74 53 70 |ionPoint| StartSp|
|00005af0| 6f 74 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 62 |ot)..{..|.local b|
|00005b00| 6f 74 20 4e 65 77 42 6f | 74 3b 0d 0a 09 6c 6f 63 |ot NewBo|t;...loc|
|00005b10| 61 6c 20 69 6e 74 20 42 | 6f 74 4e 3b 0d 0a 09 6c |al int B|otN;...l|
|00005b20| 6f 63 61 6c 20 62 6f 6f | 6c 20 62 45 6e 65 6d 79 |ocal boo|l bEnemy|
|00005b30| 3b 0d 0a 0d 0a 09 69 66 | 20 28 52 65 6d 61 69 6e |;.....if| (Remain|
|00005b40| 69 6e 67 42 6f 74 73 20 | 3e 20 52 61 74 65 64 4d |ingBots |> RatedM|
|00005b50| 61 74 63 68 43 6f 6e 66 | 69 67 2e 4e 75 6d 41 6c |atchConf|ig.NumAl|
|00005b60| 6c 69 65 73 29 0d 0a 09 | 09 62 45 6e 65 6d 79 20 |lies)...|.bEnemy |
|00005b70| 3d 20 54 72 75 65 3b 0d | 0a 0d 0a 09 42 6f 74 4e |= True;.|....BotN|
|00005b80| 20 3d 20 52 61 74 65 64 | 4d 61 74 63 68 43 6f 6e | = Rated|MatchCon|
|00005b90| 66 69 67 2e 43 68 6f 6f | 73 65 42 6f 74 49 6e 66 |fig.Choo|seBotInf|
|00005ba0| 6f 28 62 54 65 61 6d 47 | 61 6d 65 2c 20 62 45 6e |o(bTeamG|ame, bEn|
|00005bb0| 65 6d 79 29 3b 0d 0a 09 | 0d 0a 09 2f 2f 20 46 69 |emy);...|...// Fi|
|00005bc0| 6e 64 20 61 20 73 74 61 | 72 74 20 73 70 6f 74 2e |nd a sta|rt spot.|
|00005bd0| 0d 0a 09 53 74 61 72 74 | 53 70 6f 74 20 3d 20 46 |...Start|Spot = F|
|00005be0| 69 6e 64 50 6c 61 79 65 | 72 53 74 61 72 74 28 4e |indPlaye|rStart(N|
|00005bf0| 6f 6e 65 2c 20 32 35 35 | 29 3b 0d 0a 09 69 66 28 |one, 255|);...if(|
|00005c00| 20 53 74 61 72 74 53 70 | 6f 74 20 3d 3d 20 4e 6f | StartSp|ot == No|
|00005c10| 6e 65 20 29 0d 0a 09 7b | 0d 0a 09 09 6c 6f 67 28 |ne )...{|....log(|
|00005c20| 22 43 6f 75 6c 64 20 6e | 6f 74 20 66 69 6e 64 20 |"Could n|ot find |
|00005c30| 73 74 61 72 74 69 6e 67 | 20 73 70 6f 74 20 66 6f |starting| spot fo|
|00005c40| 72 20 42 6f 74 22 29 3b | 0d 0a 09 09 72 65 74 75 |r Bot");|....retu|
|00005c50| 72 6e 20 4e 6f 6e 65 3b | 0d 0a 09 7d 0d 0a 0d 0a |rn None;|...}....|
|00005c60| 09 2f 2f 20 54 72 79 20 | 74 6f 20 73 70 61 77 6e |.// Try |to spawn|
|00005c70| 20 74 68 65 20 62 6f 74 | 2e 0d 0a 09 4e 65 77 42 | the bot|....NewB|
|00005c80| 6f 74 20 3d 20 53 70 61 | 77 6e 28 52 61 74 65 64 |ot = Spa|wn(Rated|
|00005c90| 4d 61 74 63 68 43 6f 6e | 66 69 67 2e 47 65 74 42 |MatchCon|fig.GetB|
|00005ca0| 6f 74 43 6c 61 73 73 28 | 42 6f 74 4e 2c 20 62 54 |otClass(|BotN, bT|
|00005cb0| 65 61 6d 47 61 6d 65 2c | 20 62 45 6e 65 6d 79 2c |eamGame,| bEnemy,|
|00005cc0| 20 52 61 74 65 64 50 6c | 61 79 65 72 29 2c 2c 2c | RatedPl|ayer),,,|
|00005cd0| 53 74 61 72 74 53 70 6f | 74 2e 4c 6f 63 61 74 69 |StartSpo|t.Locati|
|00005ce0| 6f 6e 2c 53 74 61 72 74 | 53 70 6f 74 2e 52 6f 74 |on,Start|Spot.Rot|
|00005cf0| 61 74 69 6f 6e 29 3b 0d | 0a 09 69 66 20 28 20 4e |ation);.|..if ( N|
|00005d00| 65 77 42 6f 74 20 3d 3d | 20 4e 6f 6e 65 20 29 0d |ewBot ==| None ).|
|00005d10| 0a 09 09 6c 6f 67 28 22 | 43 6f 75 6c 64 6e 27 74 |...log("|Couldn't|
|00005d20| 20 73 70 61 77 6e 20 70 | 6c 61 79 65 72 20 61 74 | spawn p|layer at|
|00005d30| 20 22 24 53 74 61 72 74 | 53 70 6f 74 29 3b 0d 0a | "$Start|Spot);..|
|00005d40| 0d 0a 09 69 66 20 28 20 | 4e 65 77 42 6f 74 20 21 |...if ( |NewBot !|
|00005d50| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 7b 0d 0a 09 09 |= None )|...{....|
|00005d60| 2f 2f 20 53 65 74 20 74 | 68 65 20 70 6c 61 79 65 |// Set t|he playe|
|00005d70| 72 27 73 20 49 44 2e 0d | 0a 09 09 4e 65 77 42 6f |r's ID..|...NewBo|
|00005d80| 74 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |t.Player|Replicat|
|00005d90| 69 6f 6e 49 6e 66 6f 2e | 50 6c 61 79 65 72 49 44 |ionInfo.|PlayerID|
|00005da0| 20 3d 20 43 75 72 72 65 | 6e 74 49 44 2b 2b 3b 0d | = Curre|ntID++;.|
|00005db0| 0a 09 0d 0a 09 09 52 61 | 74 65 64 4d 61 74 63 68 |......Ra|tedMatch|
|00005dc0| 43 6f 6e 66 69 67 2e 49 | 6e 64 69 76 69 64 75 61 |Config.I|ndividua|
|00005dd0| 6c 69 7a 65 28 4e 65 77 | 42 6f 74 2c 20 42 6f 74 |lize(New|Bot, Bot|
|00005de0| 4e 2c 20 4e 75 6d 42 6f | 74 73 2c 20 62 54 65 61 |N, NumBo|ts, bTea|
|00005df0| 6d 47 61 6d 65 2c 20 62 | 45 6e 65 6d 79 29 3b 0d |mGame, b|Enemy);.|
|00005e00| 0a 09 09 4e 65 77 42 6f | 74 2e 56 69 65 77 52 6f |...NewBo|t.ViewRo|
|00005e10| 74 61 74 69 6f 6e 20 3d | 20 53 74 61 72 74 53 70 |tation =| StartSp|
|00005e20| 6f 74 2e 52 6f 74 61 74 | 69 6f 6e 3b 0d 0a 09 09 |ot.Rotat|ion;....|
|00005e30| 2f 2f 20 62 72 6f 61 64 | 63 61 73 74 20 61 20 77 |// broad|cast a w|
|00005e40| 65 6c 63 6f 6d 65 20 6d | 65 73 73 61 67 65 2e 0d |elcome m|essage..|
|00005e50| 0a 09 09 42 72 6f 61 64 | 63 61 73 74 4d 65 73 73 |...Broad|castMess|
|00005e60| 61 67 65 28 20 4e 65 77 | 42 6f 74 2e 50 6c 61 79 |age( New|Bot.Play|
|00005e70| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00005e80| 6f 2e 50 6c 61 79 65 72 | 4e 61 6d 65 24 45 6e 74 |o.Player|Name$Ent|
|00005e90| 65 72 65 64 4d 65 73 73 | 61 67 65 2c 20 66 61 6c |eredMess|age, fal|
|00005ea0| 73 65 20 29 3b 0d 0a 0d | 0a 09 09 4d 6f 64 69 66 |se );...|...Modif|
|00005eb0| 79 42 65 68 61 76 69 6f | 75 72 28 4e 65 77 42 6f |yBehavio|ur(NewBo|
|00005ec0| 74 29 3b 0d 0a 09 09 41 | 64 64 44 65 66 61 75 6c |t);....A|ddDefaul|
|00005ed0| 74 49 6e 76 65 6e 74 6f | 72 79 28 20 4e 65 77 42 |tInvento|ry( NewB|
|00005ee0| 6f 74 20 29 3b 0d 0a 09 | 09 4e 75 6d 42 6f 74 73 |ot );...|.NumBots|
|00005ef0| 2b 2b 3b 0d 0a 09 09 69 | 66 20 28 20 62 52 65 71 |++;....i|f ( bReq|
|00005f00| 75 69 72 65 52 65 61 64 | 79 20 26 26 20 28 43 6f |uireRead|y && (Co|
|00005f10| 75 6e 74 44 6f 77 6e 20 | 3e 20 30 29 20 29 0d 0a |untDown |> 0) )..|
|00005f20| 09 09 09 4e 65 77 42 6f | 74 2e 47 6f 74 6f 53 74 |...NewBo|t.GotoSt|
|00005f30| 61 74 65 28 27 44 79 69 | 6e 67 27 2c 20 27 57 61 |ate('Dyi|ng', 'Wa|
|00005f40| 69 74 69 6e 67 46 6f 72 | 53 74 61 72 74 27 29 3b |itingFor|Start');|
|00005f50| 0d 0a 09 09 4e 65 77 42 | 6f 74 2e 41 69 72 43 6f |....NewB|ot.AirCo|
|00005f60| 6e 74 72 6f 6c 20 3d 20 | 30 2e 33 35 3b 0d 0a 09 |ntrol = |0.35;...|
|00005f70| 7d 0d 0a 0d 0a 09 72 65 | 74 75 72 6e 20 4e 65 77 |}.....re|turn New|
|00005f80| 42 6f 74 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |Bot;..}.|...funct|
|00005f90| 69 6f 6e 20 62 6f 6f 6c | 20 46 6f 72 63 65 41 64 |ion bool| ForceAd|
|00005fa0| 64 42 6f 74 28 29 0d 0a | 7b 0d 0a 09 2f 2f 20 61 |dBot()..|{...// a|
|00005fb0| 64 64 20 62 6f 74 20 64 | 75 72 69 6e 67 20 67 61 |dd bot d|uring ga|
|00005fc0| 6d 65 70 6c 61 79 0d 0a | 09 69 66 20 28 20 4c 65 |meplay..|.if ( Le|
|00005fd0| 76 65 6c 2e 4e 65 74 4d | 6f 64 65 20 21 3d 20 4e |vel.NetM|ode != N|
|00005fe0| 4d 5f 53 74 61 6e 64 61 | 6c 6f 6e 65 20 29 0d 0a |M_Standa|lone )..|
|00005ff0| 09 09 4d 69 6e 50 6c 61 | 79 65 72 73 20 3d 20 4d |..MinPla|yers = M|
|00006000| 61 78 28 4d 69 6e 50 6c | 61 79 65 72 73 2b 31 2c |ax(MinPl|ayers+1,|
|00006010| 20 4e 75 6d 50 6c 61 79 | 65 72 73 20 2b 20 4e 75 | NumPlay|ers + Nu|
|00006020| 6d 42 6f 74 73 20 2b 20 | 31 29 3b 0d 0a 09 41 64 |mBots + |1);...Ad|
|00006030| 64 42 6f 74 28 29 3b 0d | 0a 7d 0d 0a 09 09 0d 0a |dBot();.|.}......|
|00006040| 66 75 6e 63 74 69 6f 6e | 20 62 6f 6f 6c 20 41 64 |function| bool Ad|
|00006050| 64 42 6f 74 28 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |dBot()..|{...loca|
|00006060| 6c 20 62 6f 74 20 4e 65 | 77 42 6f 74 3b 0d 0a 09 |l bot Ne|wBot;...|
|00006070| 6c 6f 63 61 6c 20 4e 61 | 76 69 67 61 74 69 6f 6e |local Na|vigation|
|00006080| 50 6f 69 6e 74 20 53 74 | 61 72 74 53 70 6f 74 3b |Point St|artSpot;|
|00006090| 0d 0a 0d 0a 09 4e 65 77 | 42 6f 74 20 3d 20 53 70 |.....New|Bot = Sp|
|000060a0| 61 77 6e 42 6f 74 28 53 | 74 61 72 74 53 70 6f 74 |awnBot(S|tartSpot|
|000060b0| 29 3b 0d 0a 09 69 66 20 | 28 20 4e 65 77 42 6f 74 |);...if |( NewBot|
|000060c0| 20 3d 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 7b 0d 0a | == None| )...{..|
|000060d0| 09 09 6c 6f 67 28 22 46 | 61 69 6c 65 64 20 74 6f |..log("F|ailed to|
|000060e0| 20 73 70 61 77 6e 20 62 | 6f 74 2e 22 29 3b 0d 0a | spawn b|ot.");..|
|000060f0| 09 09 72 65 74 75 72 6e | 20 66 61 6c 73 65 3b 0d |..return| false;.|
|00006100| 0a 09 7d 0d 0a 0d 0a 09 | 53 74 61 72 74 53 70 6f |..}.....|StartSpo|
|00006110| 74 2e 50 6c 61 79 54 65 | 6c 65 70 6f 72 74 45 66 |t.PlayTe|leportEf|
|00006120| 66 65 63 74 28 4e 65 77 | 42 6f 74 2c 20 74 72 75 |fect(New|Bot, tru|
|00006130| 65 29 3b 0d 0a 0d 0a 09 | 4e 65 77 42 6f 74 2e 50 |e);.....|NewBot.P|
|00006140| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00006150| 49 6e 66 6f 2e 62 49 73 | 41 42 6f 74 20 3d 20 54 |Info.bIs|ABot = T|
|00006160| 72 75 65 3b 0d 0a 0d 0a | 09 2f 2f 20 4c 6f 67 20 |rue;....|.// Log |
|00006170| 69 74 2e 0d 0a 09 69 66 | 20 28 4c 6f 63 61 6c 4c |it....if| (LocalL|
|00006180| 6f 67 20 21 3d 20 4e 6f | 6e 65 29 0d 0a 09 7b 0d |og != No|ne)...{.|
|00006190| 0a 09 09 4c 6f 63 61 6c | 4c 6f 67 2e 4c 6f 67 50 |...Local|Log.LogP|
|000061a0| 6c 61 79 65 72 43 6f 6e | 6e 65 63 74 28 4e 65 77 |layerCon|nect(New|
|000061b0| 42 6f 74 29 3b 0d 0a 09 | 09 4c 6f 63 61 6c 4c 6f |Bot);...|.LocalLo|
|000061c0| 67 2e 46 6c 75 73 68 4c | 6f 67 28 29 3b 0d 0a 09 |g.FlushL|og();...|
|000061d0| 7d 0d 0a 09 69 66 20 28 | 57 6f 72 6c 64 4c 6f 67 |}...if (|WorldLog|
|000061e0| 20 21 3d 20 4e 6f 6e 65 | 29 0d 0a 09 7b 0d 0a 09 | != None|)...{...|
|000061f0| 09 57 6f 72 6c 64 4c 6f | 67 2e 4c 6f 67 50 6c 61 |.WorldLo|g.LogPla|
|00006200| 79 65 72 43 6f 6e 6e 65 | 63 74 28 4e 65 77 42 6f |yerConne|ct(NewBo|
|00006210| 74 29 3b 0d 0a 09 09 57 | 6f 72 6c 64 4c 6f 67 2e |t);....W|orldLog.|
|00006220| 46 6c 75 73 68 4c 6f 67 | 28 29 3b 0d 0a 09 7d 0d |FlushLog|();...}.|
|00006230| 0a 0d 0a 09 72 65 74 75 | 72 6e 20 74 72 75 65 3b |....retu|rn true;|
|00006240| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00006250| 4d 6f 64 69 66 79 42 65 | 68 61 76 69 6f 75 72 28 |ModifyBe|haviour(|
|00006260| 42 6f 74 20 4e 65 77 42 | 6f 74 29 3b 0d 0a 0d 0a |Bot NewB|ot);....|
|00006270| 66 75 6e 63 74 69 6f 6e | 20 50 6c 61 79 53 74 61 |function| PlaySta|
|00006280| 72 74 55 70 4d 65 73 73 | 61 67 65 28 50 6c 61 79 |rtUpMess|age(Play|
|00006290| 65 72 50 61 77 6e 20 4e | 65 77 50 6c 61 79 65 72 |erPawn N|ewPlayer|
|000062a0| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |)..{...l|ocal int|
|000062b0| 20 69 3b 0d 0a 0d 0a 09 | 4e 65 77 50 6c 61 79 65 | i;.....|NewPlaye|
|000062c0| 72 2e 43 6c 65 61 72 50 | 72 6f 67 72 65 73 73 4d |r.ClearP|rogressM|
|000062d0| 65 73 73 61 67 65 73 28 | 29 3b 0d 0a 0d 0a 09 2f |essages(|);...../|
|000062e0| 2f 20 47 61 6d 65 20 4e | 61 6d 65 0d 0a 09 4e 65 |/ Game N|ame...Ne|
|000062f0| 77 50 6c 61 79 65 72 2e | 53 65 74 50 72 6f 67 72 |wPlayer.|SetProgr|
|00006300| 65 73 73 4d 65 73 73 61 | 67 65 28 47 61 6d 65 4e |essMessa|ge(GameN|
|00006310| 61 6d 65 2c 20 69 2b 2b | 29 3b 0d 0a 0d 0a 09 2f |ame, i++|);...../|
|00006320| 2f 20 4f 70 74 69 6f 6e | 61 6c 20 46 72 61 67 4c |/ Option|al FragL|
|00006330| 69 6d 69 74 0d 0a 09 69 | 66 20 28 20 66 72 61 67 |imit...i|f ( frag|
|00006340| 6c 69 6d 69 74 20 3e 20 | 30 20 29 0d 0a 09 09 4e |limit > |0 )....N|
|00006350| 65 77 50 6c 61 79 65 72 | 2e 53 65 74 50 72 6f 67 |ewPlayer|.SetProg|
|00006360| 72 65 73 73 4d 65 73 73 | 61 67 65 28 46 72 61 67 |ressMess|age(Frag|
|00006370| 4c 69 6d 69 74 40 47 61 | 6d 65 47 6f 61 6c 2c 20 |Limit@Ga|meGoal, |
|00006380| 69 2b 2b 29 3b 0d 0a 0d | 0a 09 69 66 20 28 20 4c |i++);...|..if ( L|
|00006390| 65 76 65 6c 2e 4e 65 74 | 4d 6f 64 65 20 3d 3d 20 |evel.Net|Mode == |
|000063a0| 4e 4d 5f 53 74 61 6e 64 | 61 6c 6f 6e 65 20 29 0d |NM_Stand|alone ).|
|000063b0| 0a 09 09 4e 65 77 50 6c | 61 79 65 72 2e 53 65 74 |...NewPl|ayer.Set|
|000063c0| 50 72 6f 67 72 65 73 73 | 4d 65 73 73 61 67 65 28 |Progress|Message(|
|000063d0| 53 69 6e 67 6c 65 57 61 | 69 74 69 6e 67 4d 65 73 |SingleWa|itingMes|
|000063e0| 73 61 67 65 2c 20 69 2b | 2b 29 3b 0d 0a 09 65 6c |sage, i+|+);...el|
|000063f0| 73 65 20 69 66 20 28 20 | 62 52 65 71 75 69 72 65 |se if ( |bRequire|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.